summaryrefslogtreecommitdiff
blob: 107a243c3e622f0a2213c5c46cc172d5349aee65 (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-7.0.6.ebuild,v 1.1 2004/08/23 21:41:45 zx 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-7.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
}