summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2008-10-29 21:13:28 +0000
committerThomas Sachau <tommy@gentoo.org>2008-10-29 21:13:28 +0000
commit26e3618f1c457a94023e9ccbbef6a680fa83357b (patch)
tree8f4d0446da322f48b69a0f3117bbfc6f3b136a7e /dev-java
parentnet-p2p/freenet: New upstream release + update live ebuild (diff)
downloadsunrise-26e3618f1c457a94023e9ccbbef6a680fa83357b.tar.gz
sunrise-26e3618f1c457a94023e9ccbbef6a680fa83357b.tar.bz2
sunrise-26e3618f1c457a94023e9ccbbef6a680fa83357b.zip
dev-java/sevenzip: New ebuild for bug 244922 (dep for net-p2p/freenet)
svn path=/sunrise/; revision=7276
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/sevenzip/ChangeLog8
-rw-r--r--dev-java/sevenzip/Manifest5
-rw-r--r--dev-java/sevenzip/files/build.xml25
-rw-r--r--dev-java/sevenzip/metadata.xml5
-rw-r--r--dev-java/sevenzip/sevenzip-4.57.ebuild31
5 files changed, 74 insertions, 0 deletions
diff --git a/dev-java/sevenzip/ChangeLog b/dev-java/sevenzip/ChangeLog
new file mode 100644
index 000000000..64ab7af2b
--- /dev/null
+++ b/dev-java/sevenzip/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-java/sevenzip
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 29 Oct 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +sevenzip-4.57.ebuild, +files/build.xml, +metadata.xml:
+ New ebuild for bug 244922 (dep for net-p2p/freenet)
+
diff --git a/dev-java/sevenzip/Manifest b/dev-java/sevenzip/Manifest
new file mode 100644
index 000000000..0bc30541b
--- /dev/null
+++ b/dev-java/sevenzip/Manifest
@@ -0,0 +1,5 @@
+AUX build.xml 719 RMD160 8b7caf913eb59b5abd5ea3d3fd8bce7074c19139 SHA1 caf50631e71ab072c17d6d0156d28349e2b52241 SHA256 232d9b30ff823fdfe16bdf223d8d1c9f5a3c47ef35d8c739644167096159fb3c
+DIST lzma457.tar.bz2 298927 RMD160 9a3b8577e99f4ae4e62e75e1f3bbd3f1626e140f SHA1 bd1b46ba42fe1ad7351a39c131e8b7657e909001 SHA256 e1d07b372d9748eba715354bfd540ae2cb0e2c7e83ce630439420ab7df13f2e0
+EBUILD sevenzip-4.57.ebuild 594 RMD160 f91485dff4c2236b692757ba941734bc61e9b60f SHA1 650a164dc4db26bf1755712e5a8381ffd7ad86aa SHA256 2222a7e64f88281220bde9d7bf17548c62f0e863b825ab3a402bd1eb6e051ff9
+MISC ChangeLog 290 RMD160 04b5c66426054f738281c3e1438dc0439b9d8217 SHA1 3a56c1b604d9bb2980c1fc684769b07bb1b46370 SHA256 f5b5ce8dcbeb3a37ba87eba2ba7a8dc048a0eed83118e00850fd7904ecf7cdc8
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-java/sevenzip/files/build.xml b/dev-java/sevenzip/files/build.xml
new file mode 100644
index 000000000..9623f9fd3
--- /dev/null
+++ b/dev-java/sevenzip/files/build.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="lzmajio" default="dist" basedir=".">
+ <!-- set global properties for this build -->
+ <property name="src" location="src"/>
+ <property name="build" location="build"/>
+
+ <target name="mkdir">
+ <mkdir dir="${build}"/>
+ </target>
+
+ <target name="compile" depends="mkdir">
+ <javac srcdir="." destdir="${build}" debug="on" optimize="on" source="1.5">
+ <compilerarg value="-Xlint"/>
+
+ <!-- following a very temporary list of files to be build -->
+ <include name="**/*.java"/>
+ </javac>
+ </target>
+
+ <target name="jar" depends="compile" description="generate the distribution">
+ <jar jarfile="sevenzip.jar" basedir="${build}">
+ </jar>
+ </target>
+
+</project>
diff --git a/dev-java/sevenzip/metadata.xml b/dev-java/sevenzip/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/dev-java/sevenzip/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>maintainer-wanted</herd>
+</pkgmetadata>
diff --git a/dev-java/sevenzip/sevenzip-4.57.ebuild b/dev-java/sevenzip/sevenzip-4.57.ebuild
new file mode 100644
index 000000000..82c8e817b
--- /dev/null
+++ b/dev-java/sevenzip/sevenzip-4.57.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Java code for LZMA compression and decompression"
+HOMEPAGE="http://www.7-zip.org/"
+SRC_URI="mirror://sourceforge/${PN}/lzma${PV/./}.tar.bz2"
+
+LICENSE="LGPL-2.1 CPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/bzip2"
+S=${WORKDIR}/Java/SevenZip
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}"/build.xml .
+}
+
+src_install() {
+ java-pkg_dojar "${PN}.jar"
+}
+