diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2017-02-09 17:12:03 +0100 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2017-02-09 17:22:41 +0100 |
commit | 722a27811b2de1fb88309e521977564778d28e89 (patch) | |
tree | 9ef919546fc9038c1e20a9d95409437b08b59c12 /dev-java/xz-java | |
parent | sys-libs/libcap: document gperf logic a bit more (diff) | |
download | gentoo-722a27811b2de1fb88309e521977564778d28e89.tar.gz gentoo-722a27811b2de1fb88309e521977564778d28e89.tar.bz2 gentoo-722a27811b2de1fb88309e521977564778d28e89.zip |
dev-java/xz-java: Bump to version 1.6
Kindly ACKed by Chewi.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-java/xz-java')
-rw-r--r-- | dev-java/xz-java/Manifest | 1 | ||||
-rw-r--r-- | dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch | 4 | ||||
-rw-r--r-- | dev-java/xz-java/xz-java-1.6.ebuild | 40 |
3 files changed, 43 insertions, 2 deletions
diff --git a/dev-java/xz-java/Manifest b/dev-java/xz-java/Manifest index e8927a9c91dd..3b3b200f67b0 100644 --- a/dev-java/xz-java/Manifest +++ b/dev-java/xz-java/Manifest @@ -1 +1,2 @@ DIST xz-java-1.5.zip 131544 SHA256 0146e437b01ac77046d256a2e7537768b6922c49635c27fa40b3cf745bb2db74 SHA512 8f425b86b216927490c1ab7303ae9db7faf2c275777765ec7d10c4acd4717d2ecf76068afe9a81d099ea0941c05c517cd5e7fe1b4e8bfec804fd3355dd064f41 WHIRLPOOL 5bcaa40f44bd89592e3a4f4a74884551284379f6e5a7985abf0c3673d73bc48144b457f67502097a96a82d0496526f2d5ce9f7b64bef48bd84a00eea87927839 +DIST xz-java-1.6.zip 138434 SHA256 1da9c5534656da8197457feeea7ee6c7a2c908e94f01db6d3c80ee17620e77fc SHA512 a1a6a2da05d51695e58b8e91503106bae6030cb83853df32bc7b8a23db4189c4afef01544c21de91ee3df9ad11e065059c758f121c52e6b6a319b93b2136f666 WHIRLPOOL 8c1145e631be106323b7aeb7ec05fff5bb1eda1ab677490cae7af10711d2888829058f76fd44a125f37d164125302d016e82f4459dc8764ed561111babc6f109 diff --git a/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch b/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch index 3c82eff350b0..c5630a9c5052 100644 --- a/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch +++ b/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch @@ -1,5 +1,5 @@ ---- build.xml 2011-10-22 12:16:36.000000000 +0200 -+++ build.xml.new 2012-06-01 17:54:41.000000000 +0200 +--- a/build.xml ++++ b/build.xml @@ -35,12 +35,9 @@ description="Generates HTML documentation with javadoc"> <mkdir dir="${doc_dir}"/> diff --git a/dev-java/xz-java/xz-java-1.6.ebuild b/dev-java/xz-java/xz-java-1.6.ebuild new file mode 100644 index 000000000000..bee64be53a4c --- /dev/null +++ b/dev-java/xz-java/xz-java-1.6.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Implementation of xz data compression in pure java" +HOMEPAGE="http://tukaani.org/xz/java.html" +SRC_URI="http://tukaani.org/xz/${P}.zip" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-1.4" +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip" + +EANT_DOC_TARGET="doc" + +S="${WORKDIR}" + +PATCHES=( + "${FILESDIR}/${PN}-stop-fetching-external-files.patch" +) + +src_prepare() { + default + java-utils-2_src_prepare +} + +src_install() { + java-pkg_dojar build/jar/xz.jar + use doc && java-pkg_dojavadoc build/doc + use examples && java-pkg_doexamples src/*Demo.java + use source && java-pkg_dosrc src/org +} |