Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 135884
Collapse All | Expand All

(-)c3p0-0.9.0_pre6-r1.ebuild (-2 / +8 lines)
Lines 9-26 Link Here
9
DESCRIPTION="c3p0 is a java component to provide an jdbc database pool"
9
DESCRIPTION="c3p0 is a java component to provide an jdbc database pool"
10
HOMEPAGE="http://c3p0.sourceforge.net/"
10
HOMEPAGE="http://c3p0.sourceforge.net/"
11
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.src.tgz"
11
SRC_URI="mirror://sourceforge/${PN}/${PN}-${MY_PV}.src.tgz"
12
IUSE="doc log4j junit"
13
12
# Does not like Java 1.6's JDBC API
14
# Does not like Java 1.6's JDBC API
13
DEPEND="|| (
15
DEPEND="|| (
14
		=virtual/jdk-1.3*
16
		=virtual/jdk-1.3*
15
		=virtual/jdk-1.4*
17
		=virtual/jdk-1.4*
16
		=virtual/jdk-1.5*
18
		=virtual/jdk-1.5*
17
	)
19
	)
18
	dev-java/ant-core"
20
	dev-java/ant-core
21
	log4j? ( dev-java/log4j )
22
	junit? ( dev-java/junit )"
23
	
19
RDEPEND=">=virtual/jre-1.3"
24
RDEPEND=">=virtual/jre-1.3"
20
LICENSE="LGPL-2"
25
LICENSE="LGPL-2"
21
SLOT="0"
26
SLOT="0"
22
KEYWORDS="~amd64 ~ppc ~x86"
27
KEYWORDS="~amd64 ~ppc ~x86"
23
IUSE="doc"
24
28
25
S=${WORKDIR}/${PN}-${MY_PV}.src
29
S=${WORKDIR}/${PN}-${MY_PV}.src
26
30
Lines 28-33 Link Here
28
	unpack ${A}
32
	unpack ${A}
29
	cd ${S}
33
	cd ${S}
30
	echo "j2ee.jar.base.dir=${JAVA_HOME}" > build.properties
34
	echo "j2ee.jar.base.dir=${JAVA_HOME}" > build.properties
35
	use log4j && echo "log4j.jar.file=$(java-pkg_getjar log4j log4j.jar)" >> build.properties
36
	use junit && echo "junit.jar.file=$(java-pkg_getjar junit junit.jar)" >> build.properties
31
}
37
}
32
38
33
src_compile() {
39
src_compile() {

Return to bug 135884