diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-07-03 00:53:34 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-07-03 00:53:34 +0000 |
commit | 25086655be45081152a4358ee3161c5deb43ce89 (patch) | |
tree | 016117e7403804be227c3f150a50522e3784e9b0 /dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01-r1.ebuild | |
parent | Masked app-admin/eselect-1.0.3 until split-out modules are added to the tree. (diff) | |
download | gentoo-2-25086655be45081152a4358ee3161c5deb43ce89.tar.gz gentoo-2-25086655be45081152a4358ee3161c5deb43ce89.tar.bz2 gentoo-2-25086655be45081152a4358ee3161c5deb43ce89.zip |
Revision bump to support Java system.
(Portage version: 2.1.1_pre1)
Diffstat (limited to 'dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01-r1.ebuild')
-rw-r--r-- | dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01-r1.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01-r1.ebuild b/dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01-r1.ebuild new file mode 100644 index 000000000000..58a693d0562c --- /dev/null +++ b/dev-java/backport-util-concurrent/backport-util-concurrent-1.1.01-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2006 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-r1.ebuild,v 1.1 2006/07/03 00:53:33 nichoj Exp $ + +inherit java-pkg-2 java-ant-2 + +MY_PV="1.1_01" # TODO use versionator +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="~amd64 ~ppc ~x86" +IUSE="doc" + +DEPEND="=virtual/jdk-1.4* + dev-java/ant-core + dev-java/junit" +RDEPEND="=virtual/jre-1.4*" + +S="${WORKDIR}/${MY_P}-src" + +ant_src_unpack() { + unpack ${A} + cd ${S}/external + rm -f *.jar + java-pkg_jar-from junit +} + +src_compile() { + eant javacompile archive $(use_doc) +} + +src_install() { + java-pkg_dojar ${PN}.jar + use doc && java-pkg_dohtml -r doc/api + java-pkg_dohtml README.html +} |