/[gentoo-x86]/dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r3.ebuild
Gentoo

Contents of /dev-java/aspectwerkz/aspectwerkz-2.0_rc2-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sun Aug 10 20:08:15 2014 UTC (2 months, 1 week ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +3 -3 lines
QA: drop trailing '.' from DESCRIPTION

(Portage version: 2.2.11_p9/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

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/aspectwerkz/aspectwerkz-2.0_rc2-r3.ebuild,v 1.5 2010/02/21 00:33:17 caster Exp $
4
5 EAPI=1
6 # no rewriting required since we patch build.xml to contain target/source
7 JAVA_PKG_BSFIX="off"
8 JAVA_PKG_IUSE="source"
9
10 inherit java-pkg-2 eutils java-ant-2
11
12 DESCRIPTION="AspectWerkz is a dynamic, lightweight and high-performant AOP/AOSD framework for Java"
13 SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P/_rc/.RC}.zip"
14 HOMEPAGE="http://aspectwerkz.codehaus.org"
15 LICENSE="LGPL-2.1"
16 SLOT="2"
17 KEYWORDS="amd64 ppc ~ppc64 x86"
18 RDEPEND=">=virtual/jre-1.5
19 dev-java/asm:1.5
20 dev-java/concurrent-util:0
21 dev-java/dom4j:1
22 dev-java/jrexx:0
23 dev-java/junit:0
24 dev-java/trove:0
25 dev-java/qdox:1.6"
26 DEPEND=">=virtual/jdk-1.5
27 ${RDEPEND}
28 app-arch/unzip"
29 IUSE=""
30
31 S=${WORKDIR}/aw_2_0_2
32
33 # These fail
34 RESTRICT="test"
35
36 src_unpack() {
37 unpack ${A}
38
39 cd "${S}"
40 epatch "${FILESDIR}"/${P}-gentoo.patch
41 epatch "${FILESDIR}"/${P}-jdk15.patch
42
43 find . -name '*.jar' -exec rm -v {} \; || die
44 find . -name '*.class' -exec rm -v {} \; || die
45 cd "${S}"/lib
46 java-pkg_jar-from asm-1.5
47 java-pkg_jar-from concurrent-util
48 java-pkg_jar-from dom4j-1
49 java-pkg_jar-from jrexx
50 java-pkg_jar-from junit
51 java-pkg_jar-from trove
52 java-pkg_jar-from qdox-1.6
53 }
54
55 src_compile() {
56 eant dist || die "eant failed"
57 }
58
59 src_install() {
60 java-pkg_dojar lib/${PN}*.jar
61
62 use source && java-pkg_dosrc src/*
63 }

  ViewVC Help
Powered by ViewVC 1.1.20