summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2007-04-20 14:25:43 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2007-04-20 14:25:43 +0000
commita55301d2b3963fb37999afedfbcc752a820e02d5 (patch)
tree77cd3528fb89ff11909b2d5e872abfdd82cb3c1d /dev-java/cglib
parentRemove generation 1 ebuild. (diff)
downloadgentoo-2-a55301d2b3963fb37999afedfbcc752a820e02d5.tar.gz
gentoo-2-a55301d2b3963fb37999afedfbcc752a820e02d5.tar.bz2
gentoo-2-a55301d2b3963fb37999afedfbcc752a820e02d5.zip
Add dev-java/ant-core to RDEPEND.
(Portage version: 2.1.2.4)
Diffstat (limited to 'dev-java/cglib')
-rw-r--r--dev-java/cglib/ChangeLog5
-rw-r--r--dev-java/cglib/cglib-2.2_beta1.ebuild19
2 files changed, 14 insertions, 10 deletions
diff --git a/dev-java/cglib/ChangeLog b/dev-java/cglib/ChangeLog
index 35f594f8ffe8..29d4fd520a0b 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.22 2007/02/18 10:10:11 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/ChangeLog,v 1.23 2007/04/20 14:25:43 betelgeuse Exp $
+
+ 20 Apr 2007; Petteri Räty <betelgeuse@gentoo.org> cglib-2.2_beta1.ebuild:
+ Add dev-java/ant-core to RDEPEND.
18 Feb 2007; nixnut <nixnut@gentoo.org> cglib-2.0.2-r2.ebuild:
Stable on ppc wrt bug 163646
diff --git a/dev-java/cglib/cglib-2.2_beta1.ebuild b/dev-java/cglib/cglib-2.2_beta1.ebuild
index f7e95b067ebb..416b195e4ba7 100644
--- a/dev-java/cglib/cglib-2.2_beta1.ebuild
+++ b/dev-java/cglib/cglib-2.2_beta1.ebuild
@@ -1,6 +1,8 @@
# 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.2_beta1.ebuild,v 1.1 2007/01/15 00:55:21 nichoj Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.2_beta1.ebuild,v 1.2 2007/04/20 14:25:43 betelgeuse Exp $
+
+JAVA_PKG_IUSE="doc source"
inherit eutils java-pkg-2 java-ant-2
@@ -10,23 +12,22 @@ HOMEPAGE="http://cglib.sourceforge.net"
LICENSE="Apache-1.1"
SLOT="2.2"
KEYWORDS="~x86 ~amd64"
-COMMON_DEP="=dev-java/asm-2.2*"
+COMMON_DEP="=dev-java/asm-2.2*
+ dev-java/ant-core"
RDEPEND=">=virtual/jre-1.4
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.4
- source? ( app-arch/zip )
- >=dev-java/ant-core-1.5
dev-java/jarjar
${COMMON_DEP}"
-IUSE="doc source"
+IUSE=""
S=${WORKDIR}
src_unpack() {
- jar xf ${DISTDIR}/${A} || die "failed to unpack"
+ jar xf "${DISTDIR}/${A}" || die "failed to unpack"
- cd ${S}/lib
- rm -f *.jar
+ cd "${S}/lib"
+ rm -v *.jar || die
java-pkg_jar-from asm-2.2 asm.jar
java-pkg_jar-from asm-2.2 asm-util.jar
java-pkg_jar-from asm-2.2 asm-commons.jar
@@ -38,6 +39,6 @@ src_install() {
java-pkg_newjar dist/${PN}-${PV}.jar ${PN}.jar
java-pkg_newjar dist/${PN}-nodep-${PV}.jar ${PN}-nodep.jar
- dodoc NOTICE README
+ dodoc NOTICE README || die
use doc && java-pkg_dohtml -r docs/*
}