diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2011-04-10 23:19:57 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2011-04-10 23:19:57 +0000 |
commit | 334387d4c1145d1b74804b8d8dbaff48fc283c14 (patch) | |
tree | a3b6f3d44aabe7702e2f97218a92144f0cca0872 /dev-java/bcel | |
parent | Version bump; remove old (diff) | |
download | gentoo-2-334387d4c1145d1b74804b8d8dbaff48fc283c14.tar.gz gentoo-2-334387d4c1145d1b74804b8d8dbaff48fc283c14.tar.bz2 gentoo-2-334387d4c1145d1b74804b8d8dbaff48fc283c14.zip |
Updated to 1.5 source/target and added performance patch for findbugs.
(Portage version: 2.1.9.45/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/bcel')
-rw-r--r-- | dev-java/bcel/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/bcel/bcel-5.2-r1.ebuild | 48 | ||||
-rw-r--r-- | dev-java/bcel/metadata.xml | 11 |
3 files changed, 68 insertions, 2 deletions
diff --git a/dev-java/bcel/ChangeLog b/dev-java/bcel/ChangeLog index 6eef78ee0fa1..d0bc54ca932f 100644 --- a/dev-java/bcel/ChangeLog +++ b/dev-java/bcel/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/bcel -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v 1.52 2010/07/16 19:44:05 grobian Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/ChangeLog,v 1.53 2011/04/10 23:19:57 nerdboy Exp $ + +*bcel-5.2-r1 (10 Apr 2011) + + 10 Apr 2011; Steve Arnold <nerdboy@gentoo.org> +bcel-5.2-r1.ebuild, + metadata.xml: + Updated to 1.5 source/target and added performance patch for findbugs. + Patch is use-enabled and off by default. 16 Jul 2010; Fabian Groffen <grobian@gentoo.org> bcel-5.2.ebuild: Marked ~x64-macos diff --git a/dev-java/bcel/bcel-5.2-r1.ebuild b/dev-java/bcel/bcel-5.2-r1.ebuild new file mode 100644 index 000000000000..ddea8d339839 --- /dev/null +++ b/dev-java/bcel/bcel-5.2-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/bcel/bcel-5.2-r1.ebuild,v 1.1 2011/04/10 23:19:57 nerdboy Exp $ + +EAPI=2 + +JAVA_PKG_IUSE="doc source" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="The Byte Code Engineering Library: analyze, create, manipulate Java class files" +HOMEPAGE="http://jakarta.apache.org/bcel/" +SRC_URI="mirror://apache/jakarta/${PN}/source/${P}-src.tar.gz + findbugs? ( http://dev.gentoo.org/~fordfrog/distfiles/findbugs-${P}_p20070531.patch.bz2 )" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="-findbugs" + +CDEPEND="dev-java/ant-junit + =dev-java/junit-4*" + +RDEPEND=">=virtual/jre-1.5 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.5 + ${CDEPEND}" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_ANT_TASKS="ant-junit,junit" +ANT_OPTS="-Xmx256m" + +java_prepare() { + if use findbugs; then + mv build.xml build.xml.bak + EPATCH_OPTS="-p7" \ + epatch "${WORKDIR}"/findbugs-${P}_p20070531.patch + rm build.xml && mv build.xml.bak build.xml + fi +} + +src_install() { + java-pkg_newjar ./target/${P}.jar + dodoc README.txt || die + + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/bcel/metadata.xml b/dev-java/bcel/metadata.xml index 838c00a4a448..323a26633ba5 100644 --- a/dev-java/bcel/metadata.xml +++ b/dev-java/bcel/metadata.xml @@ -2,4 +2,15 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>java</herd> +<longdescription lang="en"> + This is the main Reference implementation of the BCEL JavaClass API. + The Byte Code Engineering Library (formerly known as JavaClass) is intended + to give users a convenient possibility to analyze, create, and manipulate + (binary) Java class files (those ending with .class). Classes are represented + by objects which contain all the symbolic information of the given class: + methods, fields and byte code instructions, in particular. +</longdescription> +<use> + <flag name='findbugs'>Include performance patch for findbugs package.</flag> +</use> </pkgmetadata> |