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

Contents of /dev-java/aspectwerkz/aspectwerkz-2.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sun Aug 10 20:08:15 2014 UTC (7 months, 2 weeks ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 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-r1.ebuild,v 1.2 2014/08/04 18:43:49 sera Exp $
4
5 EAPI=5
6
7 JAVA_PKG_IUSE="doc source"
8
9 inherit java-pkg-2 java-ant-2 eutils
10
11 DESCRIPTION="AspectWerkz is a dynamic, lightweight and high-performant AOP/AOSD framework for Java"
12 SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P}.zip"
13 HOMEPAGE="http://aspectwerkz.codehaus.org"
14 LICENSE="LGPL-2.1"
15 SLOT="2"
16 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
17 IUSE=""
18 # bug 203268
19 RESTRICT="test"
20
21 COMMON_DEP="
22 dev-java/asm:1.5
23 dev-java/dom4j:1
24 dev-java/jrexx:0
25 dev-java/trove:0
26 dev-java/qdox:1.6
27 dev-java/junit:0
28 java-virtuals/jdk-with-com-sun"
29 RDEPEND="
30 >=virtual/jre-1.5
31 ${COMMON_DEP}"
32 DEPEND="
33 >=virtual/jdk-1.5
34 ${COMMON_DEP}
35 app-arch/unzip"
36
37 java_prepare() {
38 # unit tests need this
39 chmod +x "bin/${PN}" || die
40 epatch "${FILESDIR}"/${P}-gentoo.patch
41 epatch "${FILESDIR}"/${P}-modernise_api.patch
42
43 find . -name '*.jar' -delete || die
44 }
45
46 JAVA_ANT_REWRITE_CLASSPATH="yes"
47
48 EANT_BUILD_TARGET="dist"
49 EANT_DOC_TARGET=""
50 EANT_GENTOO_CLASSPATH="asm-1.5,dom4j-1,jrexx,junit,trove,qdox-1.6"
51
52 src_install() {
53 use source && java-pkg_dosrc src/*
54 # other stuff besides javadoc here too
55 use doc && java-pkg_dohtml -r docs/*
56
57 cd lib || die
58 for jar in ${PN}*.jar; do
59 java-pkg_newjar ${jar} ${jar/-${PV}}
60 done
61 }

  ViewVC Help
Powered by ViewVC 1.1.20