summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-27 17:45:54 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-27 17:45:54 +0000
commitb35aa3e568e8cf923284e5aff462fdf91d9f58de (patch)
tree014c5754d115a679e8e1c4bd556575fea99adbe7
parentmoved from dev-java/regexp to dev-java/jakarta-regexp dependency. see #71336.... (diff)
downloadgentoo-2-b35aa3e568e8cf923284e5aff462fdf91d9f58de.tar.gz
gentoo-2-b35aa3e568e8cf923284e5aff462fdf91d9f58de.tar.bz2
gentoo-2-b35aa3e568e8cf923284e5aff462fdf91d9f58de.zip
moved from dev-java/regexp to dev-java/jakarta-regexp dependency. see #71336. introduced support for the source useflag.
(Portage version: 2.0.51.19)
-rw-r--r--dev-java/bcel/ChangeLog11
-rw-r--r--dev-java/bcel/Manifest6
-rw-r--r--dev-java/bcel/bcel-5.1-r1.ebuild48
-rw-r--r--dev-java/bcel/files/digest-bcel-5.1-r11
4 files changed, 62 insertions, 4 deletions
diff --git a/dev-java/bcel/ChangeLog b/dev-java/bcel/ChangeLog
index 0833629ad98e..5fc42772236a 100644
--- a/dev-java/bcel/ChangeLog
+++ b/dev-java/bcel/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for dev-java/bcel
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v 1.26 2005/01/26 21:37:43 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v 1.27 2005/03/27 17:45:54 luckyduck Exp $
+
+*bcel-5.1-r1 27 Mar 2005
+
+ 27 Mar 2005; <>
+ # INSERT ENTRY HERE
+
+ 27 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> bcel-5.1.ebuild:
+ moved from dev-java/regexp to dev-java/jakarta-regexp dependency. see #71336.
+ introduced support for the source useflag.
26 Jan 2005; Markus Rothe <corsair@gentoo.org> bcel-5.1.ebuild:
Stable on ppc64
diff --git a/dev-java/bcel/Manifest b/dev-java/bcel/Manifest
index d675c9707083..2db5e9964e33 100644
--- a/dev-java/bcel/Manifest
+++ b/dev-java/bcel/Manifest
@@ -1,7 +1,7 @@
+MD5 91149c629b0b8499c3d221da36012259 bcel-5.1.ebuild 1281
MD5 930156ec50fbf71caaa50d3906fc2ec9 ChangeLog 2531
-MD5 c497d0e3011f98be2a06f91f82b94fa0 bcel-5.1.ebuild 1210
MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
-MD5 88f16b1c12a8814d078c5eb3906d2218 files/bcel-5.1-gentoo.diff 457
MD5 e908f81e51167a747ab8527dacc3ee4e files/digest-bcel-5.1 66
-MD5 1e5e81012f73f8d7c465486a622baa4a files/bcel-5.1-gentoo-buildxml.diff 1289
+MD5 88f16b1c12a8814d078c5eb3906d2218 files/bcel-5.1-gentoo.diff 457
MD5 55afed4e967381f557d9a2247060a3c9 files/bcel-5.1-gentoo-src.diff 3249
+MD5 1e5e81012f73f8d7c465486a622baa4a files/bcel-5.1-gentoo-buildxml.diff 1289
diff --git a/dev-java/bcel/bcel-5.1-r1.ebuild b/dev-java/bcel/bcel-5.1-r1.ebuild
new file mode 100644
index 000000000000..7864104e15c6
--- /dev/null
+++ b/dev-java/bcel/bcel-5.1-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/bcel-5.1-r1.ebuild,v 1.1 2005/03/27 17:45:54 luckyduck Exp $
+
+inherit java-pkg eutils
+
+DESCRIPTION="The Byte Code Engineering Library: analyze, create, manipulate Java class files"
+HOMEPAGE="http://jakarta.apache.org/bcel/"
+SRC_URI="mirror://apache/jakarta/bcel/source/${P}-src.tar.gz"
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc64"
+IUSE="doc jikes source"
+DEPEND=">=virtual/jdk-1.2
+ app-arch/unzip
+ dev-java/ant-core
+ jikes? ( dev-java/jikes )
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.2
+ =dev-java/jakarta-regexp-1.3*"
+
+src_unpack() {
+ unpack ${A}
+ unzip -q "${P}-src.zip"
+
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo-buildxml.diff
+ epatch ${FILESDIR}/${P}-gentoo-src.diff
+
+ echo "regexp.jar=`java-config -p jakarta-regexp-1.3`" > build.properties
+}
+
+src_compile() {
+ local antflags="jar"
+ use doc && antflags="${antflags} apidocs"
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+ ant ${antflags} || die "compilation failed"
+}
+
+src_install() {
+ java-pkg_dojar bin/bcel.jar
+
+ if use doc; then
+ dodoc LICENSE.txt
+ java-pkg_dohtml -r docs/
+ fi
+ use source && java-pkg_dosrc src/java/*
+}
diff --git a/dev-java/bcel/files/digest-bcel-5.1-r1 b/dev-java/bcel/files/digest-bcel-5.1-r1
new file mode 100644
index 000000000000..f44f8af3ffcb
--- /dev/null
+++ b/dev-java/bcel/files/digest-bcel-5.1-r1
@@ -0,0 +1 @@
+MD5 31ebbd7738325c775bd3ad5ce90dc263 bcel-5.1-src.tar.gz 12634761