blob: 4afab44429f68d244d7c2cf71c9e2906ccaf0852 (
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
|
# Copyright 1999-2004 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.3 2004/06/27 17:04:40 zx 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"
DEPEND=">=virtual/jdk-1.4
dev-java/ant
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 && dohtml -r doc/*
}
|