summaryrefslogtreecommitdiff
blob: 3289ee692285fbee1d693826605594a4f3a9987d (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 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}/
}