diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 23:03:16 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2006-07-22 23:03:16 +0000 |
commit | 7340f19e7fc6cde15c8f55bee6d2c143e672592a (patch) | |
tree | 0ec35c0b674e9d08f4eebe90974d032698c30825 /dev-java/commons-pool | |
parent | Migrated to Generation 2. (diff) | |
download | gentoo-2-7340f19e7fc6cde15c8f55bee6d2c143e672592a.tar.gz gentoo-2-7340f19e7fc6cde15c8f55bee6d2c143e672592a.tar.bz2 gentoo-2-7340f19e7fc6cde15c8f55bee6d2c143e672592a.zip |
Migrated to Generation 2.
(Portage version: 2.1.1_pre3-r3)
Diffstat (limited to 'dev-java/commons-pool')
-rw-r--r-- | dev-java/commons-pool/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/commons-pool/commons-pool-1.2-r2.ebuild | 44 | ||||
-rw-r--r-- | dev-java/commons-pool/files/digest-commons-pool-1.2 | 2 | ||||
-rw-r--r-- | dev-java/commons-pool/files/digest-commons-pool-1.2-r1 | 2 | ||||
-rw-r--r-- | dev-java/commons-pool/files/digest-commons-pool-1.2-r2 | 3 |
5 files changed, 59 insertions, 2 deletions
diff --git a/dev-java/commons-pool/ChangeLog b/dev-java/commons-pool/ChangeLog index 5d2bd721aaac..e1c202d1d2ba 100644 --- a/dev-java/commons-pool/ChangeLog +++ b/dev-java/commons-pool/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/commons-pool -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/ChangeLog,v 1.31 2005/12/24 21:25:53 axxo Exp $ +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/ChangeLog,v 1.32 2006/07/22 23:03:16 nelchael Exp $ + +*commons-pool-1.2-r2 (22 Jul 2006) + + 22 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +commons-pool-1.2-r2.ebuild: + Migrated to Generation 2. 24 Dec 2005; Thomas Matthijs <axxo@gentoo.org> -files/commons-pool-1.2-java5.patch, commons-pool-1.2-r1.ebuild: diff --git a/dev-java/commons-pool/commons-pool-1.2-r2.ebuild b/dev-java/commons-pool/commons-pool-1.2-r2.ebuild new file mode 100644 index 000000000000..3adc9f602011 --- /dev/null +++ b/dev-java/commons-pool/commons-pool-1.2-r2.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/commons-pool-1.2-r2.ebuild,v 1.1 2006/07/22 23:03:16 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="Jakarta-Commons component providing general purpose object pooling API" +HOMEPAGE="http://jakarta.apache.org/commons/pool/" +SRC_URI="mirror://apache/jakarta/commons/pool/source/${P}-src.tar.gz" +RDEPEND=">=virtual/jre-1.3 + >=dev-java/commons-collections-2.0" +DEPEND=">=virtual/jdk-1.3 + >=dev-java/ant-core-1.4 + ${RDEPEND} + junit? ( >=dev-java/junit-3.7 )" +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="junit doc" + +src_unpack() { + unpack ${A} + cd ${S} + + echo "commons-collections.jar=$(java-pkg_getjars commons-collections)" > build.properties + use junit && echo "junit.jar=$(java-pkg_getjars junit)" >> build.properties +} + +src_compile() { + local antflags="build-jar" + # TODO move unit tests to src_test + use junit && antflags="${antflags} test" + use doc && antflags="${antflags} javadoc" + + eant ${antflags} || die "Compilation Failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + dodoc README.txt + dohtml STATUS.html PROPOSAL.html + + use doc && java-pkg_dohtml -r dist/docs/* +} diff --git a/dev-java/commons-pool/files/digest-commons-pool-1.2 b/dev-java/commons-pool/files/digest-commons-pool-1.2 index 6c74ccf46989..2234d8c03aa3 100644 --- a/dev-java/commons-pool/files/digest-commons-pool-1.2 +++ b/dev-java/commons-pool/files/digest-commons-pool-1.2 @@ -1 +1,3 @@ MD5 e7dc9f479c6a4260f84f6751b434295a commons-pool-1.2-src.tar.gz 269500 +RMD160 281e734b82027ba7b7fb481105c7dd1a5a1defb3 commons-pool-1.2-src.tar.gz 269500 +SHA256 4c1d9b8ac0268be8ca6a12976d5ea009dbdd2bc9093b401e81e78de1e85e3d5e commons-pool-1.2-src.tar.gz 269500 diff --git a/dev-java/commons-pool/files/digest-commons-pool-1.2-r1 b/dev-java/commons-pool/files/digest-commons-pool-1.2-r1 index 6c74ccf46989..2234d8c03aa3 100644 --- a/dev-java/commons-pool/files/digest-commons-pool-1.2-r1 +++ b/dev-java/commons-pool/files/digest-commons-pool-1.2-r1 @@ -1 +1,3 @@ MD5 e7dc9f479c6a4260f84f6751b434295a commons-pool-1.2-src.tar.gz 269500 +RMD160 281e734b82027ba7b7fb481105c7dd1a5a1defb3 commons-pool-1.2-src.tar.gz 269500 +SHA256 4c1d9b8ac0268be8ca6a12976d5ea009dbdd2bc9093b401e81e78de1e85e3d5e commons-pool-1.2-src.tar.gz 269500 diff --git a/dev-java/commons-pool/files/digest-commons-pool-1.2-r2 b/dev-java/commons-pool/files/digest-commons-pool-1.2-r2 new file mode 100644 index 000000000000..2234d8c03aa3 --- /dev/null +++ b/dev-java/commons-pool/files/digest-commons-pool-1.2-r2 @@ -0,0 +1,3 @@ +MD5 e7dc9f479c6a4260f84f6751b434295a commons-pool-1.2-src.tar.gz 269500 +RMD160 281e734b82027ba7b7fb481105c7dd1a5a1defb3 commons-pool-1.2-src.tar.gz 269500 +SHA256 4c1d9b8ac0268be8ca6a12976d5ea009dbdd2bc9093b401e81e78de1e85e3d5e commons-pool-1.2-src.tar.gz 269500 |