blob: 25535ae38d1aec41dbeb8a45c7ace076ff65aad2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/aspectwerkz/aspectwerkz-2.0_rc2.ebuild,v 1.2 2005/02/17 17:19:52 luckyduck Exp $
inherit java-pkg eutils
DESCRIPTION="AspectWerkz is a dynamic, lightweight and high-performant AOP/AOSD framework for Java."
SRC_URI="http://dist.codehaus.org/${PN}/distributions/${P/_rc/.RC}.zip"
HOMEPAGE="http://aspectwerkz.codehaus.org"
LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="~x86 ~amd64"
RDEPEND=">=virtual/jre-1.4
=dev-java/asm-1.5*
dev-java/bcel
dev-java/concurrent-util
=dev-java/dom4j-1*
=dev-java/javassist-2*
dev-java/jrexx
>=dev-java/junitperf-1.9.1
dev-java/trove
=dev-java/qdox-20050104"
DEPEND=">=virtual/jdk-1.4
>=dev-java/ant-core-1.5
app-arch/unzip
jikes? ( >=dev-java/jikes-1.21 )"
IUSE="jikes"
S=${WORKDIR}/aw_2_0_2
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.patch
cd ${S}/lib
rm *.jar
java-pkg_jar-from asm-1.5
java-pkg_jar-from bcel
java-pkg_jar-from concurrent-util
java-pkg_jar-from dom4j-1
java-pkg_jar-from javassist-2
java-pkg_jar-from jrexx
java-pkg_jar-from junitperf
java-pkg_jar-from trove
java-pkg_jar-from qdox-1.6
}
src_compile() {
local antflags="dist"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} || die "failed to build"
}
src_install() {
java-pkg_dojar lib/${PN}*.jar
dodoc LICENSE.txt
}
|