# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-util/weka/weka-3.4.1.ebuild,v 1.3 2004/08/30 18:39:32 zx Exp $ inherit java-pkg DESCRIPTION="A Java data mining package" SRC_URI="mirror://sourceforge/${PN}/${PN}-${PV//./-}.zip" HOMEPAGE="http://www.cs.waikato.ac.nz/ml/weka/" SLOT="0" LICENSE="GPL-2" KEYWORDS="x86" DEPEND=">=virtual/jdk-1.4.1" IUSE="doc" S=${WORKDIR}/${PN}-3-4 src_compile() { :; } src_install() { java-pkg_dojar *.jar || die "failed installing" dodir /usr/share/${PN}/data/ cp data/* ${D}/usr/share/${PN}/data/ use doc && dohtml -r doc/* dodoc README* COPYING CHANGELOG-${PV//./-} cp *.pdf ${D}/usr/share/doc/${P}/ }