diff options
-rw-r--r-- | dev-java/classworlds/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/classworlds/classworlds-1.0-r2.ebuild | 42 | ||||
-rw-r--r-- | dev-java/classworlds/files/digest-classworlds-1.0-r2 | 1 |
3 files changed, 51 insertions, 1 deletions
diff --git a/dev-java/classworlds/ChangeLog b/dev-java/classworlds/ChangeLog index 4500bc6e39b6..c589303a2a4a 100644 --- a/dev-java/classworlds/ChangeLog +++ b/dev-java/classworlds/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/classworlds # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/classworlds/ChangeLog,v 1.4 2004/03/02 08:54:26 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/classworlds/ChangeLog,v 1.5 2004/05/05 20:48:27 karltk Exp $ + +*classworlds-1.0-r2 (06 May 2004) + + 06 May 2004; Karl Trygve Kalleberg <karltk@gentoo.org> + classworlds-1.0-r2.ebuild: Changed SLOT, added proper dying in + src_unpack, now uses java-pkg_dojar, better dying messages. Added + jikes support. 07 Feb 2004; Karl Trygve Kalleberg <karltk@gentoo.org> Fixed DESCRIPTION diff --git a/dev-java/classworlds/classworlds-1.0-r2.ebuild b/dev-java/classworlds/classworlds-1.0-r2.ebuild new file mode 100644 index 000000000000..c317873b5bcf --- /dev/null +++ b/dev-java/classworlds/classworlds-1.0-r2.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/classworlds/classworlds-1.0-r2.ebuild,v 1.1 2004/05/05 20:48:28 karltk Exp $ + +inherit java-pkg + +DESCRIPTION="Advanced classloader framework" +HOMEPAGE="http://dist.codehaus.org/classworlds/distributions/classworlds-1.0-src.tar.gz" +SRC_URI="http://dist.codehaus.org/classworlds/distributions/${P}-src.tar.gz" +LICENSE="codehaus-classworlds" +SLOT="1" +KEYWORDS="~x86" +IUSE="doc jikes" +DEPEND="=dev-java/xerces-2.6*" +S=${WORKDIR}/${P} + +src_unpack() { + unpack ${A} + cp ${FILESDIR}/build-${PV}.xml ${S}/build.xml + mkdir -p ${S}/target/lib + + cd ${S}/target/lib + + # karltk: remove the fake versioning here. + java-pkg_jar-from xerces || die "Missing xerces" +} + +src_compile() { + local myconf + use jikes && myconf="${myconf} -Dbuild.compiler=jikes" + + ant ${myconf} jar || die "Failed to compile jars" + if (use doc) ; then + ant javadoc || die "Failed to generate docs" + fi +} + +src_install() { + dodoc LICENSE.txt + java-pkg_dojar target/classworlds-1.0.jar + use doc && dohtml -r dist/docs/api +} diff --git a/dev-java/classworlds/files/digest-classworlds-1.0-r2 b/dev-java/classworlds/files/digest-classworlds-1.0-r2 new file mode 100644 index 000000000000..dd358f10ec85 --- /dev/null +++ b/dev-java/classworlds/files/digest-classworlds-1.0-r2 @@ -0,0 +1 @@ +MD5 739f9eb7f9677a1a5dd9ec1c4c7f66ae classworlds-1.0-src.tar.gz 32611 |