diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-08-14 20:17:20 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-08-14 20:17:20 +0000 |
commit | 4641ffb8051cce63ca5148412e5e60641cb5bc0d (patch) | |
tree | 83052ce990eb78df9e6ea5c39381b18681a0634c /dev-java | |
parent | Migrated to new Java build system. (diff) | |
download | gentoo-2-4641ffb8051cce63ca5148412e5e60641cb5bc0d.tar.gz gentoo-2-4641ffb8051cce63ca5148412e5e60641cb5bc0d.tar.bz2 gentoo-2-4641ffb8051cce63ca5148412e5e60641cb5bc0d.zip |
Migrated to new Java build system.
(Portage version: 2.1.1_pre5)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/saxpath/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/saxpath/files/digest-saxpath-1.0-r1 | 3 | ||||
-rw-r--r-- | dev-java/saxpath/saxpath-1.0-r1.ebuild | 51 |
3 files changed, 60 insertions, 1 deletions
diff --git a/dev-java/saxpath/ChangeLog b/dev-java/saxpath/ChangeLog index 2b5b0d0f7110..1f2743c890a0 100644 --- a/dev-java/saxpath/ChangeLog +++ b/dev-java/saxpath/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/saxpath # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/ChangeLog,v 1.12 2006/05/28 11:03:10 betelgeuse Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/ChangeLog,v 1.13 2006/08/14 20:17:20 nelchael Exp $ + +*saxpath-1.0-r1 (14 Aug 2006) + + 14 Aug 2006; Krzysiek Pawlik <nelchael@gentoo.org> +saxpath-1.0-r1.ebuild: + Migrated to new Java build system. 28 May 2006; Petteri Räty <betelgeuse@gentoo.org> saxpath-1.0.ebuild: saxpath needs ant-tasks with USE='doc'. Fixes bug #134460. Thanks to Robert diff --git a/dev-java/saxpath/files/digest-saxpath-1.0-r1 b/dev-java/saxpath/files/digest-saxpath-1.0-r1 new file mode 100644 index 000000000000..55af3577d2a5 --- /dev/null +++ b/dev-java/saxpath/files/digest-saxpath-1.0-r1 @@ -0,0 +1,3 @@ +MD5 cc95ecc7dfb689a29bd42323490ee702 saxpath-1.0.tar.gz 2166023 +RMD160 59520216dc54bad5b01e351fd6ae89750b84a876 saxpath-1.0.tar.gz 2166023 +SHA256 90c07abb3e3f09c398c02d84b44b651aa59d724aa6fabf45aa44a2365a6725c1 saxpath-1.0.tar.gz 2166023 diff --git a/dev-java/saxpath/saxpath-1.0-r1.ebuild b/dev-java/saxpath/saxpath-1.0-r1.ebuild new file mode 100644 index 000000000000..5ba61ca926c7 --- /dev/null +++ b/dev-java/saxpath/saxpath-1.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/saxpath/saxpath-1.0-r1.ebuild,v 1.1 2006/08/14 20:17:20 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A Simple API for XPath." +HOMEPAGE="http://saxpath.sourceforge.net/" +SRC_URI="mirror://sourceforge/saxpath/${P}.tar.gz" +LICENSE="saxpath" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="doc junit source" + +RDEPEND=">=virtual/jre-1.4 + dev-java/xalan + >=dev-java/xerces-2.6.2-r1" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + junit? ( dev-java/ant-tasks ) + doc? ( dev-java/ant-tasks ) + ${RDEPEND}" + +S=${WORKDIR}/${P}-FCS + +src_unpack() { + unpack ${A} + cd ${S} + rm -f *.jar + mkdir src/conf + cp ${FILESDIR}/MANIFEST.MF src/conf + cd lib + rm -f *.jar + use junit && java-pkg_jar-from junit + java-pkg_jar-from xalan + java-pkg_jar-from xerces-2 +} + +src_compile() { + local antops="package" + use doc && antops="${antops} doc javadoc" + use junit && antops="${antops} test" + eant ${antops} || die "failed to compile" +} + +src_install() { + java-pkg_dojar build/saxpath.jar + + use doc && java-pkg_dohtml -r build/doc/* + use source && java-pkg_dosrc src/java/main/* +} |