/[gentoo-x86]/dev-java/cglib/cglib-2.0.2-r1.ebuild
Gentoo

Contents of /dev-java/cglib/cglib-2.0.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Feb 4 22:29:09 2007 UTC (12 years, 11 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Cleanup.
(Portage version: 2.1.2-r7)

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.0.2-r1.ebuild,v 1.5 2006/09/09 07:39:04 betelgeuse Exp $
4
5 inherit eutils java-pkg
6
7 DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library, It is used to extend JAVA classes and implements interfaces at runtime."
8 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
9 HOMEPAGE="http://cglib.sourceforge.net"
10 LICENSE="Apache-1.1"
11 SLOT="2"
12 KEYWORDS="amd64 ~ppc x86"
13 RDEPEND=">=virtual/jre-1.4
14 jikes? ( >=dev-java/jikes-1.21 )
15 source? ( app-arch/zip )
16 =dev-java/asm-1.4.3*
17 =dev-java/aspectwerkz-2*"
18 DEPEND=">=virtual/jdk-1.4
19 ${RDEPEND}
20 >=dev-java/ant-core-1.5"
21 IUSE="doc jikes source"
22
23 S=${WORKDIR}
24
25 src_unpack() {
26 jar xf ${DISTDIR}/${A} || die "failed to unpack"
27
28 epatch ${FILESDIR}/${P}-asm-1.4.3.patch
29
30 cd ${S}/lib
31 rm -f *.jar
32 java-pkg_jar-from asm-1.4
33 java-pkg_jar-from aspectwerkz-2
34 }
35
36 src_compile() {
37 local antflags="jar"
38 use doc && antflags="${antflags} javadoc"
39 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
40 ant ${antflags} || die "builed to build"
41 }
42
43 src_install() {
44 java-pkg_newjar dist/${PN}-${PV}.jar ${PN}.jar
45 java-pkg_newjar dist/${PN}-full-${PV}.jar ${PN}-full.jar
46
47 dodoc NOTICE README
48 use doc && java-pkg_dohtml -r docs/*
49 use source && java-pkg_dosrc src/proxy/net
50 }

  ViewVC Help
Powered by ViewVC 1.1.20