blob: 885e82baced57e3c6df966649124680db3ab89f4 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jade/jade-3.1.ebuild,v 1.9 2005/01/20 16:04:38 luckyduck Exp $
inherit java-pkg
DESCRIPTION="JADE is FIPA-compliant Java Agent Development Environment"
SRC_URI="http://www.cs.bath.ac.uk/~occ/jade-dl/JADE-src-${PV}.zip"
HOMEPAGE="http://jade.cselt.it/"
IUSE="doc jikes"
DEPEND=">=virtual/jdk-1.3
app-arch/unzip
dev-java/ant
jikes? ( dev-java/jikes )"
RDEPEND=">=virtual/jdk-1.3"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="x86 ~sparc ppc amd64"
S=${WORKDIR}/${PN}
src_unpack() {
jar xvf ${DISTDIR}/JADE-src-${PV}.zip
}
src_compile(){
local antflags="lib"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
use doc && antflags="${antflags} doc"
ant ${antflags} || die "compilation problem"
}
src_install() {
java-pkg_dojar lib/*.jar
dodoc README ChangeLog
use doc && java-pkg_dohtml -r doc/*
}
|