summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-07-02 16:33:09 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-07-02 16:33:09 +0000
commit2dcf3a8d1920aea9f19344b4789819a7f073e754 (patch)
tree0da201fed63cfee45b22bf297dc65c5440b1df09 /dev-java/cglib/cglib-2.1.3.ebuild
parentNew version of assp. Thanks to Greg Watson <bugs@linuxlogin.com> in bug #1806... (diff)
downloadgentoo-2-2dcf3a8d1920aea9f19344b4789819a7f073e754.tar.gz
gentoo-2-2dcf3a8d1920aea9f19344b4789819a7f073e754.tar.bz2
gentoo-2-2dcf3a8d1920aea9f19344b4789819a7f073e754.zip
Fix LICENSE to Apache-2.0 from Apache-1.1 and use java-pkg_dojavadoc.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'dev-java/cglib/cglib-2.1.3.ebuild')
-rw-r--r--dev-java/cglib/cglib-2.1.3.ebuild21
1 files changed, 13 insertions, 8 deletions
diff --git a/dev-java/cglib/cglib-2.1.3.ebuild b/dev-java/cglib/cglib-2.1.3.ebuild
index 6e2f797bfa4d..75b26577b5d2 100644
--- a/dev-java/cglib/cglib-2.1.3.ebuild
+++ b/dev-java/cglib/cglib-2.1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.1.3.ebuild,v 1.7 2007/05/26 17:29:08 nelchael Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.1.3.ebuild,v 1.8 2007/07/02 16:33:09 betelgeuse Exp $
JAVA_PKG_IUSE="doc source"
WANT_SPLIT_ANT="true"
@@ -11,7 +11,7 @@ MY_PV=${PV/1./1_}
DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library."
SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${MY_PV}.jar"
HOMEPAGE="http://cglib.sourceforge.net"
-LICENSE="Apache-1.1"
+LICENSE="Apache-2.0"
SLOT="2.1"
KEYWORDS="~amd64 ~ppc ~x86"
COMMON_DEP="=dev-java/asm-1.5*
@@ -22,12 +22,12 @@ RDEPEND=">=virtual/jre-1.4
DEPEND=">=virtual/jdk-1.4
dev-java/jarjar
${COMMON_DEP}"
-IUSE="doc source"
+IUSE=""
S=${WORKDIR}
src_unpack() {
- jar xf ${DISTDIR}/${A} || die "failed to unpack"
+ unpack ${A}
cd "${S}/lib"
rm -v *.jar || die
@@ -36,14 +36,19 @@ src_unpack() {
java-pkg_jar-from ant-core ant.jar
}
-src_compile() {
- ANT_TASKS="jarjar-1" eant jar $(use_doc)
-}
+EANT_ANT_TASKS="jarjar-1"
+
+# Does not work against our current version of aspectwerkz
+# https://bugs.gentoo.org/show_bug.cgi?id=183997
+#src_test() {
+# java-pkg_jar-from --into lib junit
+# eant test
+#}
src_install() {
java-pkg_newjar dist/${PN}-${MY_PV}.jar ${PN}.jar
java-pkg_newjar dist/${PN}-nodep-${MY_PV}.jar ${PN}-nodep.jar
dodoc NOTICE README || die
- use doc && java-pkg_dohtml -r docs/*
+ use doc && java-pkg_dojavadoc docs/
}