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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.21 - (hide annotations) (download)
Sun Jun 14 15:35:58 2015 UTC (4 years, 8 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 slyfox 1.20 # Copyright 1999-2014 Gentoo Foundation
2 nichoj 1.1 # Distributed under the terms of the GNU General Public License v2
3 monsieurp 1.21 # $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-2.1.3.ebuild,v 1.20 2014/08/10 20:09:21 slyfox Exp $
4 betelgeuse 1.5
5 betelgeuse 1.17 EAPI=2
6 betelgeuse 1.5 JAVA_PKG_IUSE="doc source"
7 nichoj 1.1
8     inherit eutils java-pkg-2 java-ant-2
9    
10     MY_PV=${PV/1./1_}
11 slyfox 1.20 DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library"
12 nichoj 1.1 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${MY_PV}.jar"
13     HOMEPAGE="http://cglib.sourceforge.net"
14 betelgeuse 1.8 LICENSE="Apache-2.0"
15 nichoj 1.1 SLOT="2.1"
16 abcd 1.19 KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
17 betelgeuse 1.14 COMMON_DEP="dev-java/asm:1.5
18     dev-java/aspectwerkz:2
19 betelgeuse 1.5 dev-java/ant-core"
20 nichoj 1.1 RDEPEND=">=virtual/jre-1.4
21     ${COMMON_DEP}"
22     DEPEND=">=virtual/jdk-1.4
23 betelgeuse 1.15 app-arch/unzip
24 nichoj 1.1 dev-java/jarjar
25     ${COMMON_DEP}"
26 betelgeuse 1.8 IUSE=""
27 nichoj 1.1
28     S=${WORKDIR}
29    
30 betelgeuse 1.17 java_prepare() {
31     # needed for ecj-3.5
32     java-ant_rewrite-bootclasspath auto
33 nichoj 1.1
34 betelgeuse 1.5 cd "${S}/lib"
35     rm -v *.jar || die
36 nichoj 1.1 java-pkg_jar-from asm-1.5
37     java-pkg_jar-from aspectwerkz-2
38 nichoj 1.4 java-pkg_jar-from ant-core ant.jar
39 nichoj 1.1 }
40    
41 betelgeuse 1.14 EANT_FILTER_COMPILER="ecj-3.3"
42 betelgeuse 1.8 EANT_ANT_TASKS="jarjar-1"
43    
44     # Does not work against our current version of aspectwerkz
45     # https://bugs.gentoo.org/show_bug.cgi?id=183997
46 betelgeuse 1.15 RESTRICT="test"
47 nichoj 1.1
48     src_install() {
49 caster 1.13 java-pkg_newjar dist/${PN}-${MY_PV}.jar
50 nichoj 1.1 java-pkg_newjar dist/${PN}-nodep-${MY_PV}.jar ${PN}-nodep.jar
51    
52 betelgeuse 1.5 dodoc NOTICE README || die
53 betelgeuse 1.8 use doc && java-pkg_dojavadoc docs/
54 betelgeuse 1.12 use source && java-pkg_dosrc src/proxy/net
55 nichoj 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20