summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2004-05-05 20:48:29 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2004-05-05 20:48:29 +0000
commit39eeeae4cf7c80184ab9062afadf87cac05126f6 (patch)
tree2e19db5757be5d3e2ae27416ec6dee55c7575e58 /dev-java/classworlds
parentold (diff)
downloadgentoo-2-39eeeae4cf7c80184ab9062afadf87cac05126f6.tar.gz
gentoo-2-39eeeae4cf7c80184ab9062afadf87cac05126f6.tar.bz2
gentoo-2-39eeeae4cf7c80184ab9062afadf87cac05126f6.zip
Fixed SLOTing
Diffstat (limited to 'dev-java/classworlds')
-rw-r--r--dev-java/classworlds/ChangeLog9
-rw-r--r--dev-java/classworlds/classworlds-1.0-r2.ebuild42
-rw-r--r--dev-java/classworlds/files/digest-classworlds-1.0-r21
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