summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2008-10-29 21:24:51 +0000
committerThomas Sachau <tommy@gentoo.org>2008-10-29 21:24:51 +0000
commit16dae27147eefb06a1dd478861e49eb3a04c50e2 (patch)
tree10c7408e16820c4b977f7520d9e735ea499d72f3 /dev-java
parentdev-java/lzmajio: New ebuild for bug 244924 (dep for net-p2p/freenet) (diff)
downloadsunrise-reviewed-16dae27147eefb06a1dd478861e49eb3a04c50e2.tar.gz
sunrise-reviewed-16dae27147eefb06a1dd478861e49eb3a04c50e2.tar.bz2
sunrise-reviewed-16dae27147eefb06a1dd478861e49eb3a04c50e2.zip
dev-java/mersennetwister: New ebuild for bug 244925 (dep for net-p2p/freenet)
svn path=/sunrise/; revision=7278
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/mersennetwister/ChangeLog8
-rw-r--r--dev-java/mersennetwister/Manifest5
-rw-r--r--dev-java/mersennetwister/files/build.xml27
-rw-r--r--dev-java/mersennetwister/mersennetwister-23158.ebuild32
-rw-r--r--dev-java/mersennetwister/metadata.xml5
5 files changed, 77 insertions, 0 deletions
diff --git a/dev-java/mersennetwister/ChangeLog b/dev-java/mersennetwister/ChangeLog
new file mode 100644
index 000000000..b9ebd9f01
--- /dev/null
+++ b/dev-java/mersennetwister/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-java/mersennetwister
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+ 29 Oct 2008; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
+ +mersennetwister-23158.ebuild, +files/build.xml, +metadata.xml:
+ New ebuild for bug 244925 (dep for net-p2p/freenet)
+
diff --git a/dev-java/mersennetwister/Manifest b/dev-java/mersennetwister/Manifest
new file mode 100644
index 000000000..7527f0428
--- /dev/null
+++ b/dev-java/mersennetwister/Manifest
@@ -0,0 +1,5 @@
+AUX build.xml 761 RMD160 8fbab572740580fe5e9fd981b256a5959d246626 SHA1 5233bd8f3c06fc47760a6d625cf4709bf589549e SHA256 daf61c2c052abd851d3e7e7de73ed271e3ea5711cc15d52d60a5dd708449acb6
+DIST mersennetwister-23158.tar.bz2 6455 RMD160 40a2b2b078b32ad9421463577c778e360bc20db6 SHA1 8fa98f21d0b3274627af376fcd3442e431497b30 SHA256 8fca6cd81cb19f478be48a6caec1d6282cc62bb4d3df3f764191debdafe5796e
+EBUILD mersennetwister-23158.ebuild 619 RMD160 932b61b3f9fb3bf807fd93afd11e303fa219dd14 SHA1 66df4ca3ab4fbd3811df7b25a72edca3e43ea07f SHA256 4aa276ce50d6b555244c4df97e1bca50a015d382573dd17608f0e9599cdb3b5f
+MISC ChangeLog 305 RMD160 0e4cf18a9813dc52251d16db790c1c5002513862 SHA1 0d82255f1ad197cd871978cf1353f28fbdcc585d SHA256 fdc4991623b0fb3d813d14875995409dff03da054235a1d05a96f8672787e15e
+MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/dev-java/mersennetwister/files/build.xml b/dev-java/mersennetwister/files/build.xml
new file mode 100644
index 000000000..4382f43ac
--- /dev/null
+++ b/dev-java/mersennetwister/files/build.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="lzmajio" default="dist" basedir=".">
+ <!-- set global properties for this build -->
+ <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">
+ <classpath>
+ <pathelement location="sevenzip.jar"/>
+ </classpath>
+ <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="mersennetwister.jar" basedir="${build}">
+ </jar>
+ </target>
+
+</project>
diff --git a/dev-java/mersennetwister/mersennetwister-23158.ebuild b/dev-java/mersennetwister/mersennetwister-23158.ebuild
new file mode 100644
index 000000000..f358e6d83
--- /dev/null
+++ b/dev-java/mersennetwister/mersennetwister-23158.ebuild
@@ -0,0 +1,32 @@
+# 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="Modified MersenneTwister java port for Freenet"
+HOMEPAGE="http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html"
+SRC_URI="http://dev.gentooexperimental.org/~tommy/distfiles/${P}.tar.bz2"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE=""
+
+RDEPEND=">=virtual/jre-1.5"
+DEPEND=">=virtual/jdk-1.5
+ app-arch/bzip2"
+
+S=${WORKDIR}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ cp "${FILESDIR}"/build.xml .
+}
+
+src_install() {
+ java-pkg_dojar "${PN}.jar"
+}
+
diff --git a/dev-java/mersennetwister/metadata.xml b/dev-java/mersennetwister/metadata.xml
new file mode 100644
index 000000000..7e3286984
--- /dev/null
+++ b/dev-java/mersennetwister/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>