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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Jun 14 09:21:29 2015 UTC (4 years, 7 months ago) by chewi
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +5 -3 lines
Mark ppc and ppc64 stable in accordance with ALLARCHES
policy. Unfortunately some tests fail due to memory-related issues
that are probably VM-specific but harmless enough. This will hopefully
change for ppc64 when it gets HotSpot.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 9C6D7DE4)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/cglib/cglib-3.0.ebuild,v 1.5 2015/06/08 23:28:00 monsieurp Exp $
4
5 EAPI="5"
6
7 JAVA_PKG_IUSE="doc examples source test"
8
9 inherit java-pkg-2 java-ant-2
10
11 DESCRIPTION="cglib is a powerful, high performance and quality Code Generation Library"
12 HOMEPAGE="http://cglib.sourceforge.net"
13 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
14
15 LICENSE="Apache-2.0"
16 SLOT="3"
17 KEYWORDS="amd64 ppc ppc64 x86"
18
19 # Fails some tests on ppc(64) due to memory-related issues that are
20 # probably VM-specific but harmless enough.
21 RESTRICT="ppc? ( test ) ppc64? ( test )"
22
23 COMMON_DEP="dev-java/asm:4
24 dev-java/ant-core:0"
25 RDEPEND=">=virtual/jre-1.6
26 ${COMMON_DEP}"
27 DEPEND=">=virtual/jdk-1.6
28 test? ( dev-java/junit:4 )
29 ${COMMON_DEP}"
30
31 S="${WORKDIR}"
32
33 JAVA_ANT_REWRITE_CLASSPATH="yes"
34 EANT_GENTOO_CLASSPATH="asm-4 ant-core"
35
36 java_prepare() {
37 find . -iname '*.jar' -delete || die
38 epatch "${FILESDIR}"/${P}-build.xml.patch
39 }
40
41 src_install() {
42 java-pkg_newjar dist/${P}.jar ${PN}.jar
43
44 use doc && java-pkg_dojavadoc docs
45 use source && java-pkg_dosrc src/proxy/net
46 use examples && java-pkg_doexamples --subdir samples src/proxy/samples
47 }
48
49 src_test() {
50 java-pkg-2_src_test
51 }

  ViewVC Help
Powered by ViewVC 1.1.20