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

Contents of /dev-java/cglib/cglib-2.2_beta1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Oct 11 21:59:29 2009 UTC (10 years, 4 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
Error occurred while calculating annotation data.
FILE REMOVED
Remove old betas.
(Portage version: 2.2_rc44/cvs/Linux x86_64)

1 # Copyright 1999-2009 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.2_beta1-r1.ebuild,v 1.3 2009/09/03 15:43:38 elvanor Exp $
4
5 EAPI="2"
6 JAVA_PKG_IUSE="doc examples source"
7
8 inherit eutils java-pkg-2 java-ant-2
9
10 DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library."
11 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
12 HOMEPAGE="http://cglib.sourceforge.net"
13 LICENSE="Apache-2.0"
14 SLOT="2.2"
15 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
16 COMMON_DEP="dev-java/asm:2.2
17 >=dev-java/ant-core-1.7.0"
18 RDEPEND=">=virtual/jre-1.4
19 ${COMMON_DEP}"
20 DEPEND=">=virtual/jdk-1.4
21 app-arch/unzip
22 ${COMMON_DEP}"
23 IUSE=""
24
25 S=${WORKDIR}
26
27 src_prepare() {
28 epatch "${FILESDIR}/2.2-beta-nojarjar.patch"
29 }
30
31 src_unpack() {
32 unpack ${A}
33
34 cd "${S}/lib"
35 rm -v *.jar || die
36 java-pkg_jar-from asm-2.2 asm.jar
37 java-pkg_jar-from asm-2.2 asm-util.jar
38 java-pkg_jar-from asm-2.2 asm-commons.jar
39 java-pkg_jar-from ant-core ant.jar
40 }
41
42 # Fail giving a NullPointerException
43 RESTRICT="test"
44 EANT_TEST_JUNIT_INTO="lib"
45
46 src_install() {
47 java-pkg_newjar dist/${P}.jar ${PN}.jar
48
49 dodoc NOTICE README || die
50 use doc && java-pkg_dojavadoc docs
51 use source && java-pkg_dosrc src/proxy/net
52 use examples && java-pkg_doexamples --subdir samples src/proxy/samples
53 }

  ViewVC Help
Powered by ViewVC 1.1.20