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
commit812cf08fb04f374ed6c61aa14030b046bfa2ff82 (patch)
treec209384a40c430f4d333681b755503a7dcba64c4 /dev-java/xz-java
parentSnapshot now hosted at dev.gentoo.org (diff)
downloadhistorical-812cf08fb04f374ed6c61aa14030b046bfa2ff82.tar.gz
historical-812cf08fb04f374ed6c61aa14030b046bfa2ff82.tar.bz2
historical-812cf08fb04f374ed6c61aa14030b046bfa2ff82.zip
Initial commit
Package-Manager: portage-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/Manifest17
-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, 90 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..80b0c8de7d58
--- /dev/null
+++ b/dev-java/xz-java/Manifest
@@ -0,0 +1,17 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+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 883 RMD160 72ecce00e2a9ccf515df822adb8a07da65901646 SHA1 c181be5c65865d104be3ea0cc27353160a3c0ef3 SHA256 a0ec8177780460d96764e292626e7ab90886e34c4aa9c9c83f3ec0836b0de1ac
+MISC ChangeLog 437 RMD160 786e0c9d667b3e79a04dbf6fa74f38ae7de03382 SHA1 4d84a288ef267cad4ae63cd3e733e7a1b17a2f8f SHA256 963ed34a866c77e03d0ee5d19092cd6ecd7a37dbd4e255ec0d07c09a76c6b564
+MISC metadata.xml 243 RMD160 7be756104e00991666e4eca8aeec67344ecd58b3 SHA1 ac8db07adeb283df0ee6b8dc8f833c491e756199 SHA256 76e8c4cafe92af4eb083e9682c375a2f887458dac6ce8f2982976a96abcf8219
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iJwEAQECAAYFAk/I/WEACgkQG7kqcTWJkGcMWAP/b3030wj6NRlwQ1dkSfXB238X
+nmXZ46RneOv9/sco62k/Ka641df99nNkxtVYIvhRsvrxej2bFj41uejV89ol/Mx1
+SUVi2Mbl3vxsadkOUCIfuGnoqqi+ULWecIrpdfAwFWeVsDIOKj0lB4tY5x4eHFC5
+2W6eF1tC4TThaXYjNAg=
+=QSJH
+-----END PGP SIGNATURE-----
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
+}