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

(-)c3p0-0.8.5_pre9.ebuild (-2 / +2 lines)
Lines 5-11 Link Here
5
inherit java-pkg
5
inherit java-pkg
6
6
7
MY_PV=${PV/_pre/-pre}
7
MY_PV=${PV/_pre/-pre}
8
8
MY_P="${PN}-${MY_PV}"
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"
Lines 34-40 Link Here
34
}
34
}
35
35
36
src_install () {
36
src_install () {
37
	java-pkg_dojar build/${PN}*.jar || die "installation failed"
37
	java-pkg_newjar build/${MY_P}.jar ${PN}.jar || die "installation failed"
38
	dodoc README-SRC
38
	dodoc README-SRC
39
	use doc && java-pkg_dohtml -r build/apidocs/*
39
	use doc && java-pkg_dohtml -r build/apidocs/*
40
}
40
}

Return to bug 96751