dev-java/jnr-netdb: Clean up old.

Package-Manager: portage-2.2.20.1
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
This commit is contained in:
Patrice Clement
2015-12-04 10:04:21 +00:00
parent 88556fb1e7
commit 07c31ebba2
2 changed files with 0 additions and 69 deletions

View File

@@ -1,2 +1 @@
DIST jnr-netdb-1.0.1.tar.gz 670834 SHA256 654360f56c4a0131df293b6dcaa96618dfa9ded549180284dbaa20e6305d8906 SHA512 d62718de9e9b0a0bb1463f6bf9dc22ca00d5d107f22fea77af0b5cf77ffb6d681d0ea345cad0301e0f9053f797fd0a502325c71b3bf8aea989232f73e3f18cbc WHIRLPOOL f4e0493a0df380fd372e407d2e5014c40dda88e832ab6324fc579d6a2469cad9a3aed98f268c43aaa35b966324de7b746287fb075a16ddd58068b5fa00f04523
DIST jnr-netdb-1.1.4.tar.gz 648347 SHA256 d67327943c8ca59432bda152bd4a8611ff1eab099f2d4bf08a743dfd5f963c69 SHA512 949a744b1d443cde564a2582baf7b4323c721417f32a45fd7413f791823cac5877bef62ed0d3079345631b908a581a1acf83dd00a926f87ebbd8e61d38a20195 WHIRLPOOL 0319025334a12e59df01da1f13e74401373ec7e7e2ea30db549e9e19e226d74cdc74b62e9c5c78d74374d05f98adcc3d18bdfc40a8e760a4c5f2b5fa3c7d4a76

View File

@@ -1,68 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=3
JAVA_PKG_IUSE="doc source"
WANT_ANT_TASKS="ant-nodeps"
inherit java-pkg-2 java-ant-2
DESCRIPTION="Network services database access for java"
HOMEPAGE="https://github.com/wmeissner/jnr-netdb"
SRC_URI="https://github.com/wmeissner/jnr-netdb/tarball/${PV} -> ${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
COMMON_DEP=">=dev-java/jaffl-0.5.1:0"
RDEPEND=">=virtual/jre-1.5
${COMMON_DEP}"
DEPEND=">=virtual/jdk-1.5
${COMMON_DEP}
test?
(
dev-java/ant-junit4:0
dev-java/hamcrest-core:0
java-virtuals/jdk-with-com-sun:0
)"
src_unpack() {
unpack ${A}
mv w* "${P}" || die
}
src_prepare() {
mkdir -p lib
find . -iname 'junit*.jar' -delete
sed -i -e "s|run.test.classpath=|run.test.classpath=lib/hamcrest-core.jar:|g" nbproject/project.properties
java-pkg_jar-from --into lib jaffl jaffl.jar
}
EANT_EXTRA_ARGS="-Dreference.jaffl.jar=lib/jaffl.jar \
-Dproject.jaffl=\"${S}\" \
-D\"already.built.${S}\"=true"
src_test() {
java-pkg_jar-from --build-only --into lib/junit_4 junit-4 \
junit.jar junit-4.5.jar
java-pkg_jar-from --build-only --into lib hamcrest-core \
hamcrest-core.jar
sed -i -e \
"s_\${file.reference.jffi-complete.jar}_$(java-pkg_getjars --build-only --with-dependencies jaffl)_" \
nbproject/project.properties
ANT_TASKS="ant-junit4 ant-nodeps" eant test \
${EANT_EXTRA_ARGS} \
-Djava.library.path="$(java-config -di jaffl)"
}
src_install() {
java-pkg_dojar "dist/${PN}.jar"
use doc && java-pkg_dojavadoc dist/javadoc
use source && java-pkg_dosrc src/*
}