# 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.4 2004/08/03 11:24:19 dholm 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" 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/* }