diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-19 00:00:09 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-19 00:00:09 +0000 |
commit | 79a83195746c42ff288cbd91c47e00e17fdf0d87 (patch) | |
tree | b4dcebc1a1853a05029ee047c28f24e8cc20b4c5 /dev-java/jaxen | |
parent | Stable on ppc. (diff) | |
download | historical-79a83195746c42ff288cbd91c47e00e17fdf0d87.tar.gz historical-79a83195746c42ff288cbd91c47e00e17fdf0d87.tar.bz2 historical-79a83195746c42ff288cbd91c47e00e17fdf0d87.zip |
New upstream release. Ebuild submitted by Vibhav Garg <vibhavgarg@gmail.com>. Fixes #70846.
Diffstat (limited to 'dev-java/jaxen')
-rw-r--r-- | dev-java/jaxen/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/jaxen/Manifest | 9 | ||||
-rw-r--r-- | dev-java/jaxen/files/digest-jaxen-1.1_beta2 | 2 | ||||
-rw-r--r-- | dev-java/jaxen/files/jaxen-1.1_beta2-gentoo.diff | 38 | ||||
-rw-r--r-- | dev-java/jaxen/jaxen-1.1_beta2.ebuild | 59 |
5 files changed, 113 insertions, 4 deletions
diff --git a/dev-java/jaxen/ChangeLog b/dev-java/jaxen/ChangeLog index da843bfc77b3..f91dff459fbc 100644 --- a/dev-java/jaxen/ChangeLog +++ b/dev-java/jaxen/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/jaxen # Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.3 2004/10/17 07:28:55 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.4 2004/12/19 00:00:09 karltk Exp $ + +*jaxen-1.1_beta2 (19 Dec 2004) + + 19 Dec 2004; <karltk@gentoo.org> +files/jaxen-1.1_beta2-gentoo.diff, + +jaxen-1.1_beta2.ebuild: + New upstream release. Ebuild submitted by Vibhav Garg + <vibhavgarg@gmail.com>. Fixes #70846. 17 Oct 2004; Dylan Carlson <absinthe@gentoo.org> jaxen-1.0.ebuild: keywords ~amd64; closes #67327. diff --git a/dev-java/jaxen/Manifest b/dev-java/jaxen/Manifest index 369b50fa07f1..b08216a8e97f 100644 --- a/dev-java/jaxen/Manifest +++ b/dev-java/jaxen/Manifest @@ -1,6 +1,9 @@ -MD5 2aefcd4c2af17494817b97318e046da0 ChangeLog 673 MD5 364b983f2baf8b7dd39f4bc42bccffa5 jaxen-1.0.ebuild 1292 +MD5 a3f45d6951158a8b0485a6714d357ba7 jaxen-1.1_beta2.ebuild 1417 +MD5 b4ffa06b96f6f36d587203fd9f0e7441 ChangeLog 898 MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 -MD5 18b53511f075c771c0b69c5bc0b65dba files/MANIFEST.MF 307 -MD5 316a481f610ecae9085418b487d1fe1b files/build.xml.patch 1018 +MD5 917b383454a8f38fb290d4a69ddb47ca files/jaxen-1.1_beta2-gentoo.diff 1254 MD5 16edfe03c1dcf95c79b4b815c1b273da files/digest-jaxen-1.0 66 +MD5 316a481f610ecae9085418b487d1fe1b files/build.xml.patch 1018 +MD5 18b53511f075c771c0b69c5bc0b65dba files/MANIFEST.MF 307 +MD5 eafc9c5ca5edce2368074a57fb83ad61 files/digest-jaxen-1.1_beta2 144 diff --git a/dev-java/jaxen/files/digest-jaxen-1.1_beta2 b/dev-java/jaxen/files/digest-jaxen-1.1_beta2 new file mode 100644 index 000000000000..415f89191563 --- /dev/null +++ b/dev-java/jaxen/files/digest-jaxen-1.1_beta2 @@ -0,0 +1,2 @@ +MD5 4895bd92b7ca56f9dfe0ed8e0bea9869 jaxen-1.1-beta-2-src.tar.gz 697184 +MD5 af89b6be590a930b50001770d8071004 jaxen-tests-1.1_beta2.tar.gz 62810 diff --git a/dev-java/jaxen/files/jaxen-1.1_beta2-gentoo.diff b/dev-java/jaxen/files/jaxen-1.1_beta2-gentoo.diff new file mode 100644 index 000000000000..a3705474fe6e --- /dev/null +++ b/dev-java/jaxen/files/jaxen-1.1_beta2-gentoo.diff @@ -0,0 +1,38 @@ +*** build.xml.orig Wed Nov 10 14:45:16 2004 +--- build.xml Wed Nov 10 15:14:19 2004 +*************** +*** 25,34 **** + <target name="init" description="o Initializes some properties"> + <mkdir dir="${libdir}"> + </mkdir> +! <condition property="noget"> + <equals arg2="only" arg1="${build.sysclasspath}"> + </equals> +! </condition> + </target> + <target name="compile" description="o Compile the code" depends="get-deps"> + <mkdir dir="${classesdir}"> +--- 25,35 ---- + <target name="init" description="o Initializes some properties"> + <mkdir dir="${libdir}"> + </mkdir> +! <!--<condition property="noget"> + <equals arg2="only" arg1="${build.sysclasspath}"> + </equals> +! </condition>--> +! <property name="noget" value="true"></property> + </target> + <target name="compile" description="o Compile the code" depends="get-deps"> + <mkdir dir="${classesdir}"> +*************** +*** 172,175 **** + <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"> + </unjar> + </target> +! </project> +\ No newline at end of file +--- 173,176 ---- + <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar"> + </unjar> + </target> +! </project> diff --git a/dev-java/jaxen/jaxen-1.1_beta2.ebuild b/dev-java/jaxen/jaxen-1.1_beta2.ebuild new file mode 100644 index 000000000000..a19b781bf2bc --- /dev/null +++ b/dev-java/jaxen/jaxen-1.1_beta2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.1_beta2.ebuild,v 1.1 2004/12/19 00:00:09 karltk Exp $ + +inherit java-pkg eutils + +DESCRIPTION="A Java XPath Engine" +HOMEPAGE="http://jaxen.org/" +SRC_URI="http://www.ibiblio.org/maven/jaxen/distributions/${PN}-1.1-beta-2-src.tar.gz + junit? ( http://dev.gentoo.org/~karltk/projects/java/distfiles/jaxen-tests-1.1_beta2.tar.gz )" +LICENSE="jaxen" +SLOT="1.1" +KEYWORDS="~x86 ~ppc ~sparc ~amd64" +IUSE="doc jikes junit" + +DEPEND=">=virtual/jdk-1.3 + jikes? ( dev-java/jikes ) + dev-java/ant + >=sys-apps/sed-4 + ${RDEPEND}" + +RDEPEND=">=virtual/jre-1.3 + >=dev-java/xerces-2.6.2-r1 + =dev-java/dom4j-1* + =dev-java/jdom-1.0_beta9" + +S=${WORKDIR}/${PN}-1.1-beta-2 + +src_unpack() { + unpack ${A} + mv xml ${S}/ + cd ${S} + epatch ${FILESDIR}/jaxen-1.1_beta2-gentoo.diff + mkdir -p target/lib + cd target/lib + rm -f *.jar + java-pkg_jar-from xerces-2 + java-pkg_jar-from jdom + java-pkg_jar-from dom4j-1 + + cd ${S} + if ! use junit ; then + sed -i 's/depends="compile,test"/depends="compile"/' build.xml + fi +} + +src_compile() { + local antops="jar" + use jikes && antops="${antops} -Dbuild.compiler=jikes" + use doc && antops="${antops} doc javadoc" + ant ${antops} || die "compile failed" +} + +src_install() { + + java-pkg_dojar target/jaxen*.jar + + use doc && java-pkg_dohtml -r target/doc/* +} |