diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-29 15:20:52 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-29 15:20:52 +0000 |
commit | c15a1db0fa66ae4a2f3531df54ba93f4dac90316 (patch) | |
tree | bb807996ac2d6504993ab8f836e5cd809aded6ba /dev-java | |
parent | Stable on x86, remove old version. (diff) | |
download | gentoo-2-c15a1db0fa66ae4a2f3531df54ba93f4dac90316.tar.gz gentoo-2-c15a1db0fa66ae4a2f3531df54ba93f4dac90316.tar.bz2 gentoo-2-c15a1db0fa66ae4a2f3531df54ba93f4dac90316.zip |
Migrated to Generation 2.
(Portage version: 2.1.1_pre4)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jaxen/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jaxen/files/digest-jaxen-1.0-r1 | 3 | ||||
-rw-r--r-- | dev-java/jaxen/jaxen-1.0-r1.ebuild | 59 |
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-java/jaxen/ChangeLog b/dev-java/jaxen/ChangeLog index 4d8b4184fd50..f1e4f3d80019 100644 --- a/dev-java/jaxen/ChangeLog +++ b/dev-java/jaxen/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/jaxen # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.23 2006/07/22 21:22:35 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/ChangeLog,v 1.24 2006/07/29 15:20:52 nelchael Exp $ + +*jaxen-1.0-r1 (29 Jul 2006) + + 29 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> +jaxen-1.0-r1.ebuild: + Migrated to Generation 2. *jaxen-1.1_beta7-r2 (22 Jul 2006) diff --git a/dev-java/jaxen/files/digest-jaxen-1.0-r1 b/dev-java/jaxen/files/digest-jaxen-1.0-r1 new file mode 100644 index 000000000000..8346ef88bf96 --- /dev/null +++ b/dev-java/jaxen/files/digest-jaxen-1.0-r1 @@ -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-r1.ebuild b/dev-java/jaxen/jaxen-1.0-r1.ebuild new file mode 100644 index 000000000000..e1ba0e9ef6e8 --- /dev/null +++ b/dev-java/jaxen/jaxen-1.0-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jaxen/jaxen-1.0-r1.ebuild,v 1.1 2006/07/29 15:20:52 nelchael 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 ~sparc ~x86" +IUSE="doc junit source" +RDEPEND="|| ( >=virtual/jre-1.3* ) + dev-java/xalan + >=dev-java/xerces-2.6.2-r1 + =dev-java/dom4j-1* + ~dev-java/jdom-1.0_beta9 + dev-java/saxpath" + +DEPEND="|| ( >=virtual/jdk-1.3* ) + dev-java/ant + junit? ( dev-java/junit ) + ${RDEPEND}" + +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_beta9 +} + +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/* +} + |