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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Jun 8 23:28:00 2015 UTC (4 years, 7 months ago) by monsieurp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +3 -3 lines
Add back ~ppc and ~ppc64. Slot dependencies to comply with QA.

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-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.1.ebuild,v 1.1 2015/04/11 18:37:34 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="https://github.com/cglib/cglib"
13 SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${PV}.jar"
14
15 LICENSE="Apache-2.0"
16 SLOT="3"
17 KEYWORDS="~amd64 ~x86 ~ppc ~ppc64"
18
19 IUSE=""
20
21 COMMON_DEP="dev-java/asm:4
22 dev-java/ant-core:0"
23 RDEPEND=">=virtual/jre-1.6
24 ${COMMON_DEP}"
25 DEPEND=">=virtual/jdk-1.6
26 test? ( dev-java/junit:4 )
27 ${COMMON_DEP}"
28
29 S="${WORKDIR}"
30
31 JAVA_ANT_REWRITE_CLASSPATH="yes"
32 EANT_GENTOO_CLASSPATH="asm-4 ant-core"
33
34 java_prepare() {
35 find . -iname '*.jar' -delete || die
36
37 # Get rid of some parts in XML.
38 epatch "${FILESDIR}"/${P}-build.xml.patch
39 }
40
41 src_install() {
42 java-pkg_newjar dist/${P}.jar ${PN}.jar
43
44 if use doc; then
45 java-pkg_dojavadoc docs
46 fi
47
48 if use source; then
49 java-pkg_dosrc src/proxy/net
50 fi
51
52 if use examples; then
53 java-pkg_doexamples --subdir samples src/proxy/samples
54 fi
55 }
56
57 src_test() {
58 java-pkg-2_src_test
59 }

  ViewVC Help
Powered by ViewVC 1.1.20