diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-01-11 04:46:47 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-01-11 04:46:47 +0000 |
commit | a971d63e1f49c7623facf8a5c216005ceb97e294 (patch) | |
tree | 1cb9a54c06107279ab8b3efc31f6a0679b6d1ad5 /dev-java/picocontainer/picocontainer-1.0_beta3.ebuild | |
parent | New license for dev-java/picocontainer (diff) | |
download | historical-a971d63e1f49c7623facf8a5c216005ceb97e294.tar.gz historical-a971d63e1f49c7623facf8a5c216005ceb97e294.tar.bz2 historical-a971d63e1f49c7623facf8a5c216005ceb97e294.zip |
Initial import.
Diffstat (limited to 'dev-java/picocontainer/picocontainer-1.0_beta3.ebuild')
-rw-r--r-- | dev-java/picocontainer/picocontainer-1.0_beta3.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/dev-java/picocontainer/picocontainer-1.0_beta3.ebuild b/dev-java/picocontainer/picocontainer-1.0_beta3.ebuild new file mode 100644 index 000000000000..d4ae02865a98 --- /dev/null +++ b/dev-java/picocontainer/picocontainer-1.0_beta3.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/picocontainer/picocontainer-1.0_beta3.ebuild,v 1.1 2004/01/11 04:46:47 karltk Exp $ + +DESCRIPTION="This is a sample skeleton ebuild file" +HOMEPAGE="http://www.picocontainer.org" +SRC_URI="http://dist.codehaus.org/picocontainer/distributions/${PN}-1.0-beta-3-src.tar.gz" +LICENSE="PicoContainer" +SLOT="1" +KEYWORDS="~x86" +IUSE="doc" +DEPEND="=dev-java/ant-1.5* + =dev-java/junit-3.8.1" +S=${WORKDIR}/${PN}-1.0-beta-3 + +src_unpack() { + unpack ${A} + # FIXME: patch + cp ${FILESDIR}/build-${PV}.xml ${S}/build.xml + # FIXME: java-pkg function + mkdir -p ${S}/target/lib + ( + cd ${S}/target/lib + ln -sf /usr/share/ant/lib/ant.jar ant-1.5.jar + ln -sf /usr/share/ant/lib/ant-optional.jar ant-optional-1.5.jar + ln -sf /usr/share/ant/lib/junit.jar junit-3.8.1.jar + ) +} + +src_compile() { + ant jar || die + use doc && ant javadoc || die +} + +src_install() { + dodoc LICENSE.txt + use doc && ( dohtml -r dist/docs/api ) + dojar target/picocontainer-1.0-SNAPSHOT.jar +} |