Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 129511 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/dev-java/commons-pool/commons-pool-1.2-r1.ebuild (-6 / +7 lines)
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/commons-pool-1.2-r1.ebuild,v 1.2 2005/12/24 21:25:53 axxo Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-pool/commons-pool-1.2-r1.ebuild,v 1.2 2005/12/24 21:25:53 axxo Exp $
4
4
5
inherit java-pkg eutils
5
inherit java-pkg-2 java-ant-2
6
6
7
DESCRIPTION="Jakarta-Commons component providing general purpose object pooling API"
7
DESCRIPTION="Jakarta-Commons component providing general purpose object pooling API"
8
HOMEPAGE="http://jakarta.apache.org/commons/pool/"
8
HOMEPAGE="http://jakarta.apache.org/commons/pool/"
Lines 17-25 DEPEND=">=virtual/jdk-1.3 Link Here
17
LICENSE="Apache-2.0"
17
LICENSE="Apache-2.0"
18
SLOT="0"
18
SLOT="0"
19
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
19
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
20
IUSE="jikes junit doc"
20
IUSE="junit doc"
21
21
22
src_unpack() {
22
S="${WORKDIR}/${P}-src"
23
24
ant_src_unpack() {
23
	unpack ${A}
25
	unpack ${A}
24
	cd ${S}
26
	cd ${S}
25
27
Lines 29-44 src_unpack() { Link Here
29
31
30
src_compile() {
32
src_compile() {
31
	local antflags="build-jar"
33
	local antflags="build-jar"
32
	use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
33
	# TODO move unit tests to src_test
34
	# TODO move unit tests to src_test
34
	use junit && antflags="${antflags} test"
35
	use junit && antflags="${antflags} test"
35
	use doc && antflags="${antflags} javadoc"
36
	use doc && antflags="${antflags} javadoc"
36
37
37
	ant ${antflags} || die "Compilation Failed"
38
	eant ${antflags}
38
}
39
}
39
40
40
src_install() {
41
src_install() {
41
	java-pkg_dojar dist/${PN}.jar
42
	java-pkg_newjar dist/${P}.jar ${PN}.jar
42
	dodoc README.txt
43
	dodoc README.txt
43
	dohtml STATUS.html PROPOSAL.html
44
	dohtml STATUS.html PROPOSAL.html
44
45

Return to bug 129511