summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2016-11-09 23:59:40 +0100
committerPatrice Clement <monsieurp@gentoo.org>2016-11-09 23:59:40 +0100
commitf9ec5e9356c953330b602189331d62163bb73b42 (patch)
treec2f532b2ad8b67ffe4dbc9715601eb3757e7eedd /dev-java/jstun
parentx11-wm/i3: version bump (diff)
downloadgentoo-f9ec5e9356c953330b602189331d62163bb73b42.tar.gz
gentoo-f9ec5e9356c953330b602189331d62163bb73b42.tar.bz2
gentoo-f9ec5e9356c953330b602189331d62163bb73b42.zip
dev-java/jstun: Stable for amd64+x86.
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-java/jstun')
-rw-r--r--dev-java/jstun/jstun-0.7.3.ebuild19
1 files changed, 10 insertions, 9 deletions
diff --git a/dev-java/jstun/jstun-0.7.3.ebuild b/dev-java/jstun/jstun-0.7.3.ebuild
index cda937c9cff1..f01dba92bb70 100644
--- a/dev-java/jstun/jstun-0.7.3.ebuild
+++ b/dev-java/jstun/jstun-0.7.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -14,16 +14,18 @@ SRC_URI="http://${PN}.javawi.de/${P}.src.tar.gz"
LICENSE="Apache-2.0 GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
-COMMON_DEP="dev-java/slf4j-api:0"
+CDEPEND="dev-java/slf4j-api:0"
-RDEPEND=">=virtual/jre-1.5
- ${COMMON_DEP}"
+RDEPEND="
+ >=virtual/jre-1.5
+ ${CDEPEND}"
-DEPEND=">=virtual/jdk-1.5
+DEPEND="
+ >=virtual/jdk-1.5
test? ( dev-java/junit:0 )
- ${COMMON_DEP}"
+ ${CDEPEND}"
S="${WORKDIR}/STUN"
@@ -35,8 +37,7 @@ RESTRICT="test"
EANT_BUILD_XML="build/build.xml"
java_prepare() {
- rm -v *.jar || die
- rm -v build/*.jar || die
+ rm -v *.jar build/*.jar || die
java-pkg_jar-from slf4j-api
}