diff options
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 | 16 | ||||
-rw-r--r-- | dev-java/xz-java/xz-java-1.3.ebuild | 35 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-java/xz-java/Manifest b/dev-java/xz-java/Manifest new file mode 100644 index 0000000..df27edd --- /dev/null +++ b/dev-java/xz-java/Manifest @@ -0,0 +1 @@ +DIST xz-java-1.3.zip 123531 SHA256 f5e3ba501f38dd6eedd01e437c1adbaf0648da7c413d677d6443273b00dde89a SHA512 7a2ebabe5ae56a4fdbaeaaff8e417cfb696232489cde7e0077766f75e37edaa6470f7394adcef0e3695d3602f5d861ca45c928691ca6f3680663d15e2777f6a4 WHIRLPOOL a0d03a033f56cf8a1cb1f55e1f01f4ea341d1a962ce38e65441915daca2984adbca04cbdbdddaa1857dd41a929e175445ac7dab995d9ebbc06f32991cafc2e5a 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 new file mode 100644 index 0000000..3c82eff --- /dev/null +++ b/dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch @@ -0,0 +1,16 @@ +--- build.xml 2011-10-22 12:16:36.000000000 +0200 ++++ build.xml.new 2012-06-01 17:54:41.000000000 +0200 +@@ -35,12 +35,9 @@ + description="Generates HTML documentation with javadoc"> + <mkdir dir="${doc_dir}"/> + <mkdir dir="${extdoc_dir}"/> +- <get src="${extdoc_url}/package-list" +- dest="${extdoc_dir}/package-list" skipexisting="true"/> + <javadoc sourcepath="${src_dir}" destdir="${doc_dir}" + source="${sourcever}" packagenames="org.tukaani.xz" +- windowtitle="XZ data compression" +- linkoffline="${extdoc_url} ${extdoc_dir}"/> ++ windowtitle="XZ data compression"/> + </target> + + <target name="compile" description="Compiles the classes"> diff --git a/dev-java/xz-java/xz-java-1.3.ebuild b/dev-java/xz-java/xz-java-1.3.ebuild new file mode 100644 index 0000000..046aac2 --- /dev/null +++ b/dev-java/xz-java/xz-java-1.3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +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}" + +java_prepare() { + epatch "${FILESDIR}"/${PN}-stop-fetching-external-files.patch +} + +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 +} |