summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 22:58:20 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-22 22:58:20 +0000
commitbef82bad2bc0cb25235463a613948d17d43e0a29 (patch)
treea160a1ad18fcc07b61e05ebbbda27e970f1f6ba2 /dev-java/commons-jxpath
parentMigrated to Generation 2. (diff)
downloadgentoo-2-bef82bad2bc0cb25235463a613948d17d43e0a29.tar.gz
gentoo-2-bef82bad2bc0cb25235463a613948d17d43e0a29.tar.bz2
gentoo-2-bef82bad2bc0cb25235463a613948d17d43e0a29.zip
Migrated to Generation 2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/commons-jxpath')
-rw-r--r--dev-java/commons-jxpath/ChangeLog10
-rw-r--r--dev-java/commons-jxpath/commons-jxpath-1.1-r2.ebuild43
-rw-r--r--dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r12
-rw-r--r--dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r23
4 files changed, 56 insertions, 2 deletions
diff --git a/dev-java/commons-jxpath/ChangeLog b/dev-java/commons-jxpath/ChangeLog
index 44d67fcfb528..21529c65c373 100644
--- a/dev-java/commons-jxpath/ChangeLog
+++ b/dev-java/commons-jxpath/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/commons-jxpath
-# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jxpath/ChangeLog,v 1.9 2005/05/14 16:10:09 luckyduck Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jxpath/ChangeLog,v 1.10 2006/07/22 22:58:20 nelchael Exp $
+
+*commons-jxpath-1.1-r2 (22 Jul 2006)
+
+ 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +commons-jxpath-1.1-r2.ebuild:
+ Migrated to Generation 2.
*commons-jxpath-1.1-r1 (14 May 2005)
diff --git a/dev-java/commons-jxpath/commons-jxpath-1.1-r2.ebuild b/dev-java/commons-jxpath/commons-jxpath-1.1-r2.ebuild
new file mode 100644
index 000000000000..f704ba298527
--- /dev/null
+++ b/dev-java/commons-jxpath/commons-jxpath-1.1-r2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-jxpath/commons-jxpath-1.1-r2.ebuild,v 1.1 2006/07/22 22:58:20 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Applies XPath expressions to graphs of objects of all kinds."
+HOMEPAGE="http://jakarta.apache.org/commons/jxpath/"
+SRC_URI="mirror://apache/jakarta/commons/jxpath/source/${P}-src.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=virtual/jre-1.3
+ =dev-java/commons-beanutils-1.6*
+ =dev-java/servletapi-2.3*
+ ~dev-java/jdom-1.0_beta9"
+DEPEND=">=virtual/jdk-1.3
+ ${RDEPEND}
+ dev-java/ant-core"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ echo "jdom.jar=$(java-pkg_getjar jdom-1.0_beta9 jdom.jar)" > build.properties
+ echo "servlet.jar=$(java-pkg_getjar servletapi-2.3 servlet.jar)" >> build.properties
+ echo "commons-beanutils.jar=$(java-pkg_getjar commons-beanutils-1.6 commons-beanutils.jar)" >> build.properties
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} javadoc"
+ eant ${antflags} || die "compile problem"
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ dohtml PROPOSAL.html STATUS.html usersguide.html
+ use doc && java-pkg_dohtml -r dist/docs/
+}
diff --git a/dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r1 b/dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r1
index 0b74e49268cb..76e048ed9096 100644
--- a/dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r1
+++ b/dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r1
@@ -1 +1,3 @@
MD5 ec32e3521572ca678e4862892389bc5b commons-jxpath-1.1-src.tar.gz 181809
+RMD160 052ae221c9ed249e20654da1573bf80a09cd1d10 commons-jxpath-1.1-src.tar.gz 181809
+SHA256 cecfe01d7e78303ea00c1decfceffaa3ee775a3581557154b06f5007e316cf46 commons-jxpath-1.1-src.tar.gz 181809
diff --git a/dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r2 b/dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r2
new file mode 100644
index 000000000000..76e048ed9096
--- /dev/null
+++ b/dev-java/commons-jxpath/files/digest-commons-jxpath-1.1-r2
@@ -0,0 +1,3 @@
+MD5 ec32e3521572ca678e4862892389bc5b commons-jxpath-1.1-src.tar.gz 181809
+RMD160 052ae221c9ed249e20654da1573bf80a09cd1d10 commons-jxpath-1.1-src.tar.gz 181809
+SHA256 cecfe01d7e78303ea00c1decfceffaa3ee775a3581557154b06f5007e316cf46 commons-jxpath-1.1-src.tar.gz 181809