summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Clement <monsieurp@gentoo.org>2018-07-06 23:59:14 +0200
committerPatrice Clement <monsieurp@gentoo.org>2018-07-06 23:59:14 +0200
commit17cbbe79b97bbfa1a6d20aeffb62619d6f1cdbb3 (patch)
treeed9e0a415234967c905c7e7ecf1d4c6b0f0758bc /dev-java/dnsjava
parentmedia-sound/pnmixer: version bump to 0.7.2 (diff)
downloadgentoo-17cbbe79b97bbfa1a6d20aeffb62619d6f1cdbb3.tar.gz
gentoo-17cbbe79b97bbfa1a6d20aeffb62619d6f1cdbb3.tar.bz2
gentoo-17cbbe79b97bbfa1a6d20aeffb62619d6f1cdbb3.zip
dev-java/dnsjava: version bump.
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'dev-java/dnsjava')
-rw-r--r--dev-java/dnsjava/Manifest1
-rw-r--r--dev-java/dnsjava/dnsjava-2.1.8.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/dnsjava/Manifest b/dev-java/dnsjava/Manifest
index 0ef6cac488e9..8241ec16e4d7 100644
--- a/dev-java/dnsjava/Manifest
+++ b/dev-java/dnsjava/Manifest
@@ -1,2 +1,3 @@
DIST dnsjava-2.1.6.tar.gz 1087908 BLAKE2B af9edda95d8cdd9c02b39c5a86646efc85cef576361d4ab765ce65d8b6e20621bcbdc9e32327f8ae1a3e2cbb83e60d61736ce9d71ae3bd091b0fca306727e158 SHA512 0d30504190aabbb176cc914834eb26a2f5522741c4473dbbf32f16e1d62fe39cf244a3ddd543b88d3a1e595afa9c6509e42d1418205677aa6523c6d11c49f497
DIST dnsjava-2.1.7.tar.gz 1078980 BLAKE2B 16fd027c6f46463d6b4322bcf88943a3f06186d853a7e5615b8829d93aee897dca489dec00d61af857d58df566905c559e1c8d9922f5592ef2146bc715dc9b0b SHA512 07b11b94833f4a6f5d9bd8e0265444f15704eeba6420b2fa2c4efef46823c2768e8e691d6b101bb6d1ed9ebda1e55dbf518f447d62eb686fdd583c281313afdd
+DIST dnsjava-2.1.8.tar.gz 460532 BLAKE2B 761e99643710aca3aebc50972504284c388685dee12b3fc1fcbe6e4a8698762833dab725ff61395aee2b0292d0f71004eb2247c899c87d01dcc938e4283d31c1 SHA512 d38be6d52b275906b66468cd375ebd46c0d669de2fd06a50253631589a7dd6fbf4e92d4b20778dacd9f19cd489df013e4d42bc16c935581dcaa370ac9ce3c55b
diff --git a/dev-java/dnsjava/dnsjava-2.1.8.ebuild b/dev-java/dnsjava/dnsjava-2.1.8.ebuild
new file mode 100644
index 000000000000..9cb312e010d2
--- /dev/null
+++ b/dev-java/dnsjava/dnsjava-2.1.8.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="An implementation of DNS in Java"
+HOMEPAGE="http://www.dnsjava.org/"
+SRC_URI="http://www.dnsjava.org/download/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+
+RDEPEND=">=virtual/jre-1.6"
+DEPEND=">=virtual/jdk-1.6
+ test? (
+ dev-java/junit:0
+ dev-java/ant-junit:0
+ )"
+
+EANT_BUILD_TARGET="jar"
+EANT_DOC_TARGET="docs"
+EANT_TEST_TARGET="run_tests"
+
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_TEST_GENTOO_CLASSPATH="junit"
+EANT_GENTOO_CLASSPATH_EXTRA="${P}.jar"
+
+src_prepare() {
+ default
+ java-pkg_clean
+ #epatch "${FILESDIR}"/*.patch
+}
+
+src_install() {
+ java-pkg_newjar "${P}.jar"
+
+ einstalldocs
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc org/
+}
+
+src_test() {
+ EANT_ANT_TASKS="ant-junit" java-pkg-2_src_test
+}