summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2012-06-01 17:35:18 +0000
committerThomas Sachau <tommy@gentoo.org>2012-06-01 17:35:18 +0000
commitfd1e4a1a03e81cfdef5c3e5db7bc6eccb630737c (patch)
tree0ea79a072aea53b5732fe372f4686bbe9dc0db45 /dev-java/xz-java
parentSnapshot now hosted at dev.gentoo.org (diff)
downloadgentoo-2-fd1e4a1a03e81cfdef5c3e5db7bc6eccb630737c.tar.gz
gentoo-2-fd1e4a1a03e81cfdef5c3e5db7bc6eccb630737c.tar.bz2
gentoo-2-fd1e4a1a03e81cfdef5c3e5db7bc6eccb630737c.zip
Initial commit
(Portage version: 2.2.0_alpha108-r1/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/xz-java')
-rw-r--r--dev-java/xz-java/ChangeLog10
-rw-r--r--dev-java/xz-java/Manifest5
-rw-r--r--dev-java/xz-java/files/xz-java-stop-fetching-external-files.patch16
-rw-r--r--dev-java/xz-java/metadata.xml9
-rw-r--r--dev-java/xz-java/xz-java-1.0.ebuild38
5 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/xz-java/ChangeLog b/dev-java/xz-java/ChangeLog
new file mode 100644
index 000000000000..2d7ebc555edd
--- /dev/null
+++ b/dev-java/xz-java/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/xz-java
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xz-java/ChangeLog,v 1.1 2012/06/01 17:35:18 tommy Exp $
+
+*xz-java-1.0 (01 Jun 2012)
+
+ 01 Jun 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org> +xz-java-1.0.ebuild,
+ +files/xz-java-stop-fetching-external-files.patch, +metadata.xml:
+ Initial commit, required for >=commons-compress-1.4.1
+
diff --git a/dev-java/xz-java/Manifest b/dev-java/xz-java/Manifest
new file mode 100644
index 000000000000..f96464e28ddf
--- /dev/null
+++ b/dev-java/xz-java/Manifest
@@ -0,0 +1,5 @@
+AUX xz-java-stop-fetching-external-files.patch 765 RMD160 d7e9f7c42bcd22ced323de09e8ccb810090cbd49 SHA1 6b81d81bdc371573d1dfae56f5844d6850b22dfd SHA256 942e40ba582c88a8ba3a30a0231d9a41b09fb46fbfc46228b77ffaf347f4ebb7
+DIST xz-java-1.0.zip 118834 RMD160 15b9b7001beb296a52466b3faac9e8e693d46389 SHA1 80773b889cd4c6ea4b51c05a0442539c2fc6948a SHA256 cd57e4eabcb9b641cc25157f57b482c4387457cf5c607258474b7996055e08a3
+EBUILD xz-java-1.0.ebuild 787 RMD160 be629cf95d02f15706c32af998ef8e25b05ff17e SHA1 0dfc9b44c4d1279eeede5a93d41fd370c46e3db9 SHA256 f67eeb9614262310209dc5b99e9ff7e7069e6cb0e4888ae968addbe2fe3c9951
+MISC ChangeLog 350 RMD160 8b82eb9bf6bd9b65c2013b0f91d9599013e87440 SHA1 2dce21697fd7b49a9e6c77f43df92821dba14e70 SHA256 c1f95af4acc211a10746c10692b4bda773fced43967c72f7e2de1294c6d04c54
+MISC metadata.xml 243 RMD160 7be756104e00991666e4eca8aeec67344ecd58b3 SHA1 ac8db07adeb283df0ee6b8dc8f833c491e756199 SHA256 76e8c4cafe92af4eb083e9682c375a2f887458dac6ce8f2982976a96abcf8219
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 000000000000..3c82eff350b0
--- /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/metadata.xml b/dev-java/xz-java/metadata.xml
new file mode 100644
index 000000000000..fed3658eec53
--- /dev/null
+++ b/dev-java/xz-java/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>tommy@gentoo.org</email>
+ <name>Thomas Sachau (Tommy[D])</name>
+ </maintainer>
+</pkgmetadata>
+
diff --git a/dev-java/xz-java/xz-java-1.0.ebuild b/dev-java/xz-java/xz-java-1.0.ebuild
new file mode 100644
index 000000000000..7e9043cd139a
--- /dev/null
+++ b/dev-java/xz-java/xz-java-1.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xz-java/xz-java-1.0.ebuild,v 1.1 2012/06/01 17:35:18 tommy Exp $
+
+EAPI=4
+
+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"
+
+IUSE=""
+
+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
+}