--- commons-pool-1.2.ebuild 2005-11-05 11:35:31.000000000 +0000 +++ commons-pool-1.3.ebuild 2006-04-10 20:14:20.000000000 +0100 @@ -18,6 +18,7 @@ SLOT="0" KEYWORDS="amd64 ppc ppc64 sparc x86" IUSE="jikes junit doc" +S="${WORKDIR}/${P}-src" src_unpack() { unpack ${A} @@ -37,7 +38,7 @@ } src_install() { - java-pkg_dojar dist/${PN}.jar + java-pkg_dojar dist/${P}.jar dodoc README.txt dohtml STATUS.html PROPOSAL.html
By using ${P}.jar, that introduces installs a jar with the version in it. It is then difficult to pull jars from this package without having to know the version. Instead, java-pkg_newjar ${P}.jar ${PN}.jar should be used. Alternatively, the build.xml could be tweaked (if it hasn't already been) to let you definea property to control the name of the build jar, and then add the appropriate value to antflags.
Created attachment 90871 [details, diff] commons-pool-1.3.ebuild.diff Updated patch. Solves J2SE 1.5 as well.
Created attachment 90979 [details, diff] commons-pool-1.3.ebuild.diff Build using new build environment.
(In reply to comment #3) > Created an attachment (id=90979) [edit] > commons-pool-1.3.ebuild.diff > > Build using new build environment. > Version bump added with support for src_test and source use flag support. apicheck reported 100% so should be fine in the same slot.