summaryrefslogtreecommitdiff
blob: c32275ed6832d4ef7152228a6e4211bd49774e77 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/jade-lib/jade-lib-6.0.0.ebuild,v 1.3 2004/06/24 22:29:52 agriffis Exp $

inherit java-pkg

DESCRIPTION="Java Addition to Default Environment"
SRC_URI="http://jade.dautelle.com/jade-${PV}-src.zip"
HOMEPAGE="http://jade.dautelle.com/"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~x86 ~ppc"
DEPEND=">=virtual/jdk-1.4
		>=dev-java/java-config-1.2
		dev-java/ant
		jikes? ( >=dev-java/jikes-1.17 )"
RDEPEND=">=virtual/jdk-1.4"
IUSE="doc jikes"

S="${WORKDIR}/jade-6.0"

src_compile() {
	local antflags="build"
	use doc && antflags="${antflags} javadoc"
	use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
	ant ${antflags} || die "compile problem"
}

src_install() {
	java-pkg_dojar jade.jar
	use doc && dohtml -r api
}