summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2007-01-30 10:58:08 +0000
committerVlastimil Babka <caster@gentoo.org>2007-01-30 10:58:08 +0000
commitdb92279fdd9371a198ce76f4a36bac07f4babfba (patch)
tree3a66939ec1346d2c88f76fa3e7320f5de7e3f8ec /dev-java/jaxen
parentRevbump to use jdom-1.0 final instead of beta9 (the API changes there don't s... (diff)
downloadgentoo-2-db92279fdd9371a198ce76f4a36bac07f4babfba.tar.gz
gentoo-2-db92279fdd9371a198ce76f4a36bac07f4babfba.tar.bz2
gentoo-2-db92279fdd9371a198ce76f4a36bac07f4babfba.zip
Revbump to use jdom-1.0 final instead of beta9 (the API changes there don't seem to affect this package).
(Portage version: 2.1.2-r5)
Diffstat (limited to 'dev-java/jaxen')
-rw-r--r--dev-java/jaxen/ChangeLog8
-rw-r--r--dev-java/jaxen/files/digest-jaxen-1.0-r23
-rw-r--r--dev-java/jaxen/jaxen-1.0-r2.ebuild61
3 files changed, 71 insertions, 1 deletions
diff --git a/dev-java/jaxen/ChangeLog b/dev-java/jaxen/ChangeLog
index 6bdb8a9a36f3..1c3b7d665da9 100644
--- a/dev-java/jaxen/ChangeLog
+++ b/dev-java/jaxen/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-java/jaxen
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.39 2007/01/05 23:16:51 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.40 2007/01/30 10:58:08 caster Exp $
+
+*jaxen-1.0-r2 (30 Jan 2007)
+
+ 30 Jan 2007; Vlastimil Babka <caster@gentoo.org> +jaxen-1.0-r2.ebuild:
+ Revbump to use jdom-1.0 final instead of beta9 (the API changes there don't
+ seem to affect this package).
05 Jan 2007; Vlastimil Babka <caster@gentoo.org>
-files/jaxen-1.1_beta2-gentoo.diff, -jaxen-1.1_beta2-r1.ebuild:
diff --git a/dev-java/jaxen/files/digest-jaxen-1.0-r2 b/dev-java/jaxen/files/digest-jaxen-1.0-r2
new file mode 100644
index 000000000000..8346ef88bf96
--- /dev/null
+++ b/dev-java/jaxen/files/digest-jaxen-1.0-r2
@@ -0,0 +1,3 @@
+MD5 c0baf972b669579aff40ca7fdb9a90d0 jaxen-1.0-FCS.tar.gz 3195819
+RMD160 896f838c383b6a5d60c4c2fa1271a735992aaa4e jaxen-1.0-FCS.tar.gz 3195819
+SHA256 ceb6997465e9de4efe6b4e8f0c421c12bd115b764f9633b9c8b80b95e3b76377 jaxen-1.0-FCS.tar.gz 3195819
diff --git a/dev-java/jaxen/jaxen-1.0-r2.ebuild b/dev-java/jaxen/jaxen-1.0-r2.ebuild
new file mode 100644
index 000000000000..e049ca93a539
--- /dev/null
+++ b/dev-java/jaxen/jaxen-1.0-r2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.0-r2.ebuild,v 1.1 2007/01/30 10:58:08 caster Exp $
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="A Java XPath Engine"
+HOMEPAGE="http://jaxen.org/"
+SRC_URI="mirror://sourceforge/jaxen/${P}-FCS.tar.gz"
+LICENSE="jaxen"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="doc junit source"
+COMMON_DEP="
+ dev-java/xalan
+ >=dev-java/xerces-2.7
+ =dev-java/dom4j-1*
+ >=dev-java/jdom-1.0
+ dev-java/saxpath"
+
+RDEPEND=">=virtual/jre-1.3
+ ${COMMON_DEP}"
+# FIXME doesn't like Java 1.5's XML API
+DEPEND="|| ( =virtual/jdk-1.3* =virtual/jdk-1.4* )
+ dev-java/ant
+ junit? ( dev-java/junit )
+ ${COMMON_DEP}"
+
+S="${WORKDIR}/${P}-FCS"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/build.xml.patch
+ mkdir src/conf
+ cp ${FILESDIR}/MANIFEST.MF src/conf
+ rm -f *.jar
+ cd ${S}/lib
+ rm -f *.jar
+
+ java-pkg_jar-from saxpath
+ java-pkg_jar-from xalan
+ java-pkg_jar-from xerces-2
+ java-pkg_jar-from dom4j-1
+ use junit && java-pkg_jar-from junit
+ java-pkg_jar-from jdom-1.0
+}
+
+src_compile() {
+ local antops="package"
+ use doc && antops="${antops} doc javadoc"
+ use junit && antops="${antops} test.core"
+ eant ${antops} || die "compile failed"
+}
+
+src_install() {
+ java-pkg_dojar build/jaxen-full.jar
+
+ use doc && java-pkg_dohtml -r build/doc/*
+ use source && java-pkg_dosrc src/java/main/*
+}