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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (show annotations) (download)
Sun Jun 14 15:35:58 2015 UTC (4 years, 7 months ago) by monsieurp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.20: +1 -1 lines
FILE REMOVED
Drop old.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 93491BB8)

1 # Copyright 1999-2014 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-r2.ebuild,v 1.20 2014/08/10 20:09:21 slyfox Exp $
4
5 EAPI=2
6 JAVA_PKG_IUSE="doc source"
7
8 inherit eutils java-pkg-2 java-ant-2
9
10 DESCRIPTION="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-1.1"
14 SLOT="2"
15 KEYWORDS="amd64 ppc ppc64 x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
16 COMMON_DEP="=dev-java/asm-1.4.3*
17 =dev-java/aspectwerkz-2*
18 dev-java/ant-core"
19 RDEPEND=">=virtual/jre-1.4
20 ${COMMON_DEP}"
21 # test? ( dev-java/junit:0 )
22 DEPEND=">=virtual/jdk-1.4
23 app-arch/unzip
24 ${COMMON_DEP}"
25 IUSE=""
26
27 S=${WORKDIR}
28
29 java_prepare() {
30 # needed for ecj-3.5
31 java-ant_rewrite-bootclasspath auto
32
33 epatch "${FILESDIR}/${P}-asm-1.4.3.patch"
34
35 cd "${S}/lib"
36 rm -v *.jar || die
37 java-pkg_jar-from asm-1.4
38 java-pkg_jar-from aspectwerkz-2
39 java-pkg_jar-from ant-core ant.jar
40 }
41
42 #Investigate why this fails
43 EANT_FILTER_COMPILER="ecj-3.3"
44 EANT_TEST_JUNIT_INTO="lib"
45
46 # Fail and would need aspectwekrz-1.0
47 RESTRICT="test"
48
49 src_install() {
50 java-pkg_newjar dist/${P}.jar
51 java-pkg_newjar dist/${PN}-full-${PV}.jar ${PN}-full.jar
52
53 dodoc NOTICE README || die
54 use doc && java-pkg_dojavadoc docs
55 use source && java-pkg_dosrc src/proxy/net
56 }

  ViewVC Help
Powered by ViewVC 1.1.20