diff options
author | Thomas Matthijs <axxo@gentoo.org> | 2005-06-29 19:53:09 +0000 |
---|---|---|
committer | Thomas Matthijs <axxo@gentoo.org> | 2005-06-29 19:53:09 +0000 |
commit | 586210beb63e8c9f8f23e75c69059bc5ff9e828d (patch) | |
tree | 403c800338b7d1ae94e19c2f870c5bf604ef39f2 /dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01.ebuild | |
parent | 22.7 stable on x86. Clean up old ebuilds & patches. (diff) | |
download | historical-586210beb63e8c9f8f23e75c69059bc5ff9e828d.tar.gz historical-586210beb63e8c9f8f23e75c69059bc5ff9e828d.tar.bz2 historical-586210beb63e8c9f8f23e75c69059bc5ff9e828d.zip |
new packages, ebuild contributed by Josh Nichols <nichoj@alum.rpi.edu>
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01.ebuild')
-rw-r--r-- | dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01.ebuild b/dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01.ebuild new file mode 100644 index 000000000000..713a9178db7e --- /dev/null +++ b/dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01.ebuild,v 1.1 2005/06/29 19:53:09 axxo Exp $ + +inherit java-pkg + +MY_PV="1.1_01" +MY_P="${PN}-${MY_PV}" +DESCRIPTION="This package is the backport of java.util.concurrent API, introduced in Java 5.0, to Java 1.4" +HOMEPAGE="http://www.mathcs.emory.edu/dcl/util/backport-util-concurrent/" +SRC_URI="http://www.mathcs.emory.edu/dcl/util/${PN}/dist/${MY_P}/${MY_P}-src.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~x86" +IUSE="jikes doc" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + dev-java/junit + jikes? ( dev-java/jikes )" +RDEPEND=">=virtual/jre-1.4" + +S="${WORKDIR}/${MY_P}-src" + +src_unpack() { + unpack ${A} + cd ${S}/external + rm -f *.jar + java-pkg_jar-from junit +} + +src_compile() { + local antflags="javacompile archive" + use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" + use doc && antflags="${antflags} javadoc" + + ant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar ${PN}.jar + use doc && java-pkg_dohtml -r doc/api + java-pkg_dohtml README.html +} |