blob: 697cff92d7ca129b15e26179f7094d4c6c85c930 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
EANT_BUILD_TARGET="exejar"
EANT_BUILD_XML="build_package.xml"
EANT_GENTOO_CLASSPATH="weka"
EANT_EXTRA_ARGS="-Dpackage=paceRegression"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Class for building pace regression linear models and using them for prediction"
HOMEPAGE="https://weka.sourceforge.net/doc.packages/paceRegression"
SRC_URI="mirror://sourceforge/weka/${PN}${PV}.zip"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
CDEPEND=">=dev-util/weka-3.7.1:0"
DEPEND="
${CDEPEND}
>=virtual/jdk-1.8:*
"
RDEPEND="
${CDEPEND}
>=virtual/jre-1.8:*
"
BDEPEND="app-arch/unzip"
PATCHES=( "${FILESDIR}/${P}-no-build-docs.patch" )
src_prepare() {
java-pkg_clean
default
java-ant_rewrite-classpath build_package.xml
}
src_install() {
java-pkg_dojar "dist/${PN}.jar"
}
|