summaryrefslogtreecommitdiff
blob: 188165cf83de9dcc8902e4bf9513367f276cd3dc (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
29
30
# Copyright 1999-2005 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.7 2005/03/04 10:57:09 luckyduck 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
	app-arch/unzip
	dev-java/ant"
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 && java-pkg_dohtml -r doc/*
	dodoc README* COPYING CHANGELOG-${PV//./-}
	cp *.pdf ${D}/usr/share/doc/${P}/
}