blob: 64ad0788bb3b9129f909ffeefda95dda7537c161 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/colt/colt-1.1.0.ebuild,v 1.8 2005/01/01 18:14:11 eradicator Exp $
inherit java-pkg
DESCRIPTION="Colt provides a set of Open Source Libraries for High Performance Scientific and Technical Computing in Java."
SRC_URI="http://dsd.lbl.gov/~hoschek/colt-download/releases/${P}.zip"
HOMEPAGE="http://www-itg.lbl.gov/~hoschek/colt/"
LICENSE="colt"
IUSE="doc jikes"
SLOT="0"
KEYWORDS="x86 ~sparc ~ppc ~amd64"
DEPEND=">=virtual/jdk-1.4
dev-java/ant
app-arch/unzip
jikes? ( dev-java/jikes )"
RDEPEND=">=virtual/jdk-1.4"
S=${WORKDIR}/${PN}
src_compile() {
local antflags="javac"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
ant ${antflags} jar || die "compile problem"
use doc && ant javadoc
}
src_install() {
java-pkg_dojar lib/*.jar
dohtml README.html
use doc && java-pkg_dohtml -r doc/*
}
|