summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Carlson <absinthe@gentoo.org>2003-05-15 06:58:33 +0000
committerDylan Carlson <absinthe@gentoo.org>2003-05-15 06:58:33 +0000
commit11181da789c60ca4a8f41dd1c0a5d544d1684f22 (patch)
tree48327615c1be325bb3d01ba7ca2334bcdbee7737
parentInitial import. (diff)
downloadhistorical-11181da789c60ca4a8f41dd1c0a5d544d1684f22.tar.gz
historical-11181da789c60ca4a8f41dd1c0a5d544d1684f22.tar.bz2
historical-11181da789c60ca4a8f41dd1c0a5d544d1684f22.zip
Initial import.
-rw-r--r--dev-java/bcel/Manifest3
-rw-r--r--dev-java/bcel/bcel-5.1.ebuild39
-rw-r--r--dev-java/bcel/files/bcel-5.1-gentoo.diff14
-rw-r--r--dev-java/bcel/files/digest-bcel-5.11
4 files changed, 56 insertions, 1 deletions
diff --git a/dev-java/bcel/Manifest b/dev-java/bcel/Manifest
index f7e1c6397ab0..3212087459a9 100644
--- a/dev-java/bcel/Manifest
+++ b/dev-java/bcel/Manifest
@@ -1,3 +1,4 @@
-MD5 7f25235e79f9811cde26a13f4cad9301 bcel-5.1.ebuild 1145
+MD5 410fec727eac93b0f7a3d7f7eec4d048 bcel-5.1.ebuild 1139
+MD5 f18850f07b51e1680522ece2b90c2b88 ChangeLog 352
MD5 4259eb38f8431da842c2b40c302d0ebb files/digest-bcel-5.1 64
MD5 88f16b1c12a8814d078c5eb3906d2218 files/bcel-5.1-gentoo.diff 457
diff --git a/dev-java/bcel/bcel-5.1.ebuild b/dev-java/bcel/bcel-5.1.ebuild
new file mode 100644
index 000000000000..e8a546fa8a2a
--- /dev/null
+++ b/dev-java/bcel/bcel-5.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/bcel-5.1.ebuild,v 1.1 2003/05/15 06:58:30 absinthe Exp $
+
+inherit java-pkg
+
+S=${WORKDIR}/${P}
+DESCRIPTION="The Byte Code Engineering Library: analyze, create, manipulate Java class files."
+SRC_URI="http://jakarta.apache.org/builds/jakarta-bcel/release/v${PV}/${PN}-${PV}-src.tar.gz"
+HOMEPAGE="http://jakarta.apache.org/bcel/"
+KEYWORDS="x86 ppc sparc alpha mips hppa arm"
+LICENSE="Apache-1.1"
+SLOT="0"
+DEPEND=""
+RDEPEND=">=virtual/jdk-1.2
+ >=dev-java/regexp-1.2
+ jikes? ( dev-java/jikes )"
+IUSE="doc jikes"
+DEP_APPEND="regexp"
+
+src_compile() {
+ ANT_OPTS="${myc}"
+ CLASSPATH="${CLASSPATH}:`/usr/bin/java-config --classpath=regexp`"
+ epatch ${FILESDIR}/${P}-gentoo.diff
+
+ use jikes && export ANT_OPTS="${ANT_OPTS} -Dbuild.compiler=jikes"
+ ant jar || die "Compile failed during jar target."
+ if [ -n "`use doc`" ] ; then
+ echo "Building Javadocs"
+ ant apidocs > /dev/null
+ fi
+}
+
+src_install() {
+ use doc && dohtml -r docs/
+ dodoc LICENSE.txt
+ java-pkg_dojar bin/bcel.jar
+}
+
diff --git a/dev-java/bcel/files/bcel-5.1-gentoo.diff b/dev-java/bcel/files/bcel-5.1-gentoo.diff
new file mode 100644
index 000000000000..36aa365a8665
--- /dev/null
+++ b/dev-java/bcel/files/bcel-5.1-gentoo.diff
@@ -0,0 +1,14 @@
+--- build.xml.orig 2003-05-15 02:36:11.000000000 -0400
++++ build.xml 2003-05-15 02:36:37.000000000 -0400
+@@ -65,10 +65,9 @@
+ <target name="build" depends="compile"/>
+
+ <!-- Jar the library -->
+- <target name="jar" depends="examples">
++ <target name="jar" depends="compile">
+ <jar jarfile="${build.dir}/${name}.jar"
+ basedir="${build.dest}"
+- manifest="${basedir}/manifest.txt"
+ includes="org/**,listclass.class"
+ />
+ </target>
diff --git a/dev-java/bcel/files/digest-bcel-5.1 b/dev-java/bcel/files/digest-bcel-5.1
new file mode 100644
index 000000000000..117e10529629
--- /dev/null
+++ b/dev-java/bcel/files/digest-bcel-5.1
@@ -0,0 +1 @@
+MD5 c9ebfa7373eb4416e590205fd0005039 bcel-5.1-src.tar.gz 269706