You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
897 B
51 lines
897 B
9 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
8 years ago
|
EAPI=6
|
||
9 years ago
|
|
||
|
JAVA_PKG_IUSE="doc source"
|
||
|
|
||
|
inherit java-pkg-2 java-pkg-simple
|
||
|
|
||
|
DESCRIPTION="Java API compatibility testing tools"
|
||
|
HOMEPAGE="http://sab39.netreach.com/japi/"
|
||
|
SRC_URI="http://www.kaffe.org/~stuart/japi/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
8 years ago
|
KEYWORDS="amd64 x86"
|
||
9 years ago
|
RESTRICT="test"
|
||
|
|
||
|
CDEPEND="dev-java/ant-core:0"
|
||
|
|
||
|
RDEPEND="
|
||
8 years ago
|
dev-lang/perl
|
||
9 years ago
|
${CDEPEND}
|
||
8 years ago
|
>=virtual/jre-1.7"
|
||
9 years ago
|
|
||
|
DEPEND="
|
||
|
${CDEPEND}
|
||
8 years ago
|
>=virtual/jdk-1.7"
|
||
9 years ago
|
|
||
|
S="${WORKDIR}/${P}"
|
||
|
|
||
|
JAVA_GENTOO_CLASSPATH="ant-core"
|
||
|
JAVA_SRC_DIR="src"
|
||
|
|
||
8 years ago
|
src_prepare() {
|
||
|
default
|
||
|
|
||
|
rm bin/*.bat || die
|
||
|
sed -e "s:\.\./share/java:../share/${PN}/lib:" -i bin/* \
|
||
8 years ago
|
|| die "Failed to correct the location of the jar file in perl scripts."
|
||
8 years ago
|
|
||
|
java-pkg-2_src_prepare
|
||
8 years ago
|
}
|
||
|
|
||
9 years ago
|
src_install() {
|
||
8 years ago
|
dobin bin/*
|
||
|
|
||
9 years ago
|
java-pkg-simple_src_install
|
||
|
java-pkg_register-ant-task
|
||
|
}
|