blob: 342972718fc56615398daf34b217afeb39d5e5fd (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.1 2004/05/16 19:11:57 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}/
}
|