diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-07-02 16:33:09 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-07-02 16:33:09 +0000 |
commit | 2dcf3a8d1920aea9f19344b4789819a7f073e754 (patch) | |
tree | 0da201fed63cfee45b22bf297dc65c5440b1df09 /dev-java/cglib | |
parent | New version of assp. Thanks to Greg Watson <bugs@linuxlogin.com> in bug #1806... (diff) | |
download | gentoo-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')
-rw-r--r-- | dev-java/cglib/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/cglib/cglib-2.1.3.ebuild | 21 |
2 files changed, 17 insertions, 9 deletions
diff --git a/dev-java/cglib/ChangeLog b/dev-java/cglib/ChangeLog index 76afad636412..42f7c01966c4 100644 --- a/dev-java/cglib/ChangeLog +++ b/dev-java/cglib/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/cglib # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/ChangeLog,v 1.29 2007/05/26 17:29:08 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/ChangeLog,v 1.30 2007/07/02 16:33:09 betelgeuse Exp $ + + 02 Jul 2007; Petteri Räty <betelgeuse@gentoo.org> cglib-2.1.3.ebuild: + Fix LICENSE to Apache-2.0 from Apache-1.1 and use java-pkg_dojavadoc. 26 May 2007; Krzysiek Pawlik <nelchael@gentoo.org> cglib-2.1.3.ebuild, cglib-2.2_beta1.ebuild: 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/ } |