/[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 - (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.1.3.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 MY_PV=${PV/1./1_}
11 DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library"
12 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${MY_PV}.jar"
13 HOMEPAGE="http://cglib.sourceforge.net"
14 LICENSE="Apache-2.0"
15 SLOT="2.1"
16 KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
17 COMMON_DEP="dev-java/asm:1.5
18 dev-java/aspectwerkz:2
19 dev-java/ant-core"
20 RDEPEND=">=virtual/jre-1.4
21 ${COMMON_DEP}"
22 DEPEND=">=virtual/jdk-1.4
23 app-arch/unzip
24 dev-java/jarjar
25 ${COMMON_DEP}"
26 IUSE=""
27
28 S=${WORKDIR}
29
30 java_prepare() {
31 # needed for ecj-3.5
32 java-ant_rewrite-bootclasspath auto
33
34 cd "${S}/lib"
35 rm -v *.jar || die
36 java-pkg_jar-from asm-1.5
37 java-pkg_jar-from aspectwerkz-2
38 java-pkg_jar-from ant-core ant.jar
39 }
40
41 EANT_FILTER_COMPILER="ecj-3.3"
42 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 RESTRICT="test"
47
48 src_install() {
49 java-pkg_newjar dist/${PN}-${MY_PV}.jar
50 java-pkg_newjar dist/${PN}-nodep-${MY_PV}.jar ${PN}-nodep.jar
51
52 dodoc NOTICE README || die
53 use doc && java-pkg_dojavadoc docs/
54 use source && java-pkg_dosrc src/proxy/net
55 }

  ViewVC Help
Powered by ViewVC 1.1.20