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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Sat Sep 9 07:41:24 2006 UTC (13 years, 4 months ago) by betelgeuse
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +1 -1 lines
FILE REMOVED
Removed an old version.
(Portage version: 2.1.1)
 (Signed Manifest commit)

1 # Copyright 1999-2005 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.ebuild,v 1.7 2005/07/15 17:52:17 axxo Exp $
4
5 inherit java-pkg
6
7 DESCRIPTION="cglib is a Dynamic Java byte code generator"
8 HOMEPAGE="http://cglib.sourceforge.net/"
9 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
10 RDEPEND=">=virtual/jre-1.3
11 dev-java/asm"
12 DEPEND=">=virtual/jdk-1.3
13 ${RDEPEND}
14 >=dev-java/ant-1.4"
15 LICENSE="LGPL-2"
16 SLOT="2"
17 KEYWORDS="x86 ~ppc amd64"
18 IUSE="jikes doc"
19
20 S=${WORKDIR}
21
22 src_unpack() {
23 cd ${S}
24 jar xf ${DISTDIR}/${A} || die "unpack failed"
25 cd ${S}
26 echo "j2ee.jar.base.dir=${JAVA_HOME}" > build.properties
27 }
28
29 src_compile() {
30 local antflags="jar"
31 use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
32 use doc && antflags="${antflags} javadoc"
33 #use junit && antflags="${antflags} test"
34 ant ${antflags} || die "compilation failed"
35 }
36
37 src_install() {
38 java-pkg_newjar dist/${PN}-full-${PV}.jar ${PN}-full.jar
39 dodoc README NOTICE
40 use doc && java-pkg_dohtml -r build/apidocs/*
41 }

  ViewVC Help
Powered by ViewVC 1.1.20