# 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.7 2004/11/03 11:23:46 axxo 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/* }