diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2016-02-18 14:59:26 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2016-02-18 19:37:08 +0000 |
commit | 0ef2ff32b60d78ea91c530ca0eb995bcac635fcf (patch) | |
tree | 8b06205184cb00996b87769aa72742a3b3da0786 /dev-java | |
parent | dev-java/jopt-simple: Version bump. (diff) | |
download | gentoo-0ef2ff32b60d78ea91c530ca0eb995bcac635fcf.tar.gz gentoo-0ef2ff32b60d78ea91c530ca0eb995bcac635fcf.tar.bz2 gentoo-0ef2ff32b60d78ea91c530ca0eb995bcac635fcf.zip |
dev-java/dnsjava: Version bump.
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/dnsjava/Manifest | 1 | ||||
-rw-r--r-- | dev-java/dnsjava/dnsjava-2.1.7.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/dnsjava/Manifest b/dev-java/dnsjava/Manifest index 38909305747d..d185210320c6 100644 --- a/dev-java/dnsjava/Manifest +++ b/dev-java/dnsjava/Manifest @@ -1 +1,2 @@ DIST dnsjava-2.1.6.tar.gz 1087908 SHA256 2503f5fb343ebc5b87c4ea3d67070305ff61d8d8c26636f62abb33e507104e76 SHA512 0d30504190aabbb176cc914834eb26a2f5522741c4473dbbf32f16e1d62fe39cf244a3ddd543b88d3a1e595afa9c6509e42d1418205677aa6523c6d11c49f497 WHIRLPOOL 60915c62b36a907928696e0afb3529ed46332013f07feea155158075fcc32a3bcfb50ddd3977f876ec7ad3203572ef54ff30f761925b6d96cca6e51fa7939f19 +DIST dnsjava-2.1.7.tar.gz 1078980 SHA256 387e5ccb17fa1c49ff1afbb5c5d61e431fefe07cdf98577c4e9792c2b8435766 SHA512 07b11b94833f4a6f5d9bd8e0265444f15704eeba6420b2fa2c4efef46823c2768e8e691d6b101bb6d1ed9ebda1e55dbf518f447d62eb686fdd583c281313afdd WHIRLPOOL 66b4a37afe5b34bc87d46f3f3c162bdb2f484d8b6b3536f3913d420503067ba179f0467b869f181540050297a3e634a13b259e56a701cdb715c3d47672d42a67 diff --git a/dev-java/dnsjava/dnsjava-2.1.7.ebuild b/dev-java/dnsjava/dnsjava-2.1.7.ebuild new file mode 100644 index 000000000000..de43db76bc45 --- /dev/null +++ b/dev-java/dnsjava/dnsjava-2.1.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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" +IUSE="" + +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" + +java_prepare() { + java-pkg_clean + #epatch "${FILESDIR}"/*.patch +} + +src_install() { + java-pkg_newjar "${P}.jar" + + dodoc README USAGE || die + use doc && java-pkg_dojavadoc doc + use source && java-pkg_dosrc org/ +} + +src_test() { + EANT_ANT_TASKS="ant-junit" java-pkg-2_src_test +} |