diff options
author | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-04 13:19:02 +0000 |
---|---|---|
committer | Karl Trygve Kalleberg <karltk@gentoo.org> | 2004-12-04 13:19:02 +0000 |
commit | 095e9921569b6c5937a7c713d2517579d0c60982 (patch) | |
tree | 837e542c9ef7f2d0987e6540fd48752b76d5f6da /dev-java/mg4j | |
parent | Partial fix for #73329. (diff) | |
download | historical-095e9921569b6c5937a7c713d2517579d0c60982.tar.gz historical-095e9921569b6c5937a7c713d2517579d0c60982.tar.bz2 historical-095e9921569b6c5937a7c713d2517579d0c60982.zip |
Initial import. Fixes #63278.
Diffstat (limited to 'dev-java/mg4j')
-rw-r--r-- | dev-java/mg4j/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/mg4j/Manifest | 5 | ||||
-rw-r--r-- | dev-java/mg4j/files/digest-mg4j-0.9.1 | 1 | ||||
-rw-r--r-- | dev-java/mg4j/files/mg4j-build.patch | 56 | ||||
-rw-r--r-- | dev-java/mg4j/metadata.xml | 14 | ||||
-rw-r--r-- | dev-java/mg4j/mg4j-0.9.1.ebuild | 53 |
6 files changed, 138 insertions, 0 deletions
diff --git a/dev-java/mg4j/ChangeLog b/dev-java/mg4j/ChangeLog new file mode 100644 index 000000000000..84bfa6841aec --- /dev/null +++ b/dev-java/mg4j/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-java/mg4j +# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed unde the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/mg4j/ChangeLog,v 1.5 2004/12/04 13:19:02 karltk Exp $ + +*mg4j-0.9.1 (04 Dec 2004) + + 04 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> mg4j-0.9.1.ebuild: + Initial import. Ebuild submitted by Jan Brinkmann <lucky@the-luckyduck.de>. + Fixes #63278. diff --git a/dev-java/mg4j/Manifest b/dev-java/mg4j/Manifest new file mode 100644 index 000000000000..9375061abf3a --- /dev/null +++ b/dev-java/mg4j/Manifest @@ -0,0 +1,5 @@ +MD5 5f79fad41c3104300345334b553c0fba mg4j-0.9.1.ebuild 1319 +MD5 be53fee96fb3740d552f5a8f347ad3c8 ChangeLog 403 +MD5 0637a933ecb6e8cedfc4ddfcf3491728 metadata.xml 310 +MD5 62549703b2e290b4ccb8d3504cd98106 files/digest-mg4j-0.9.1 66 +MD5 326925c121a02bba5ed19a5d223ae55d files/mg4j-build.patch 1420 diff --git a/dev-java/mg4j/files/digest-mg4j-0.9.1 b/dev-java/mg4j/files/digest-mg4j-0.9.1 new file mode 100644 index 000000000000..0765b9343646 --- /dev/null +++ b/dev-java/mg4j/files/digest-mg4j-0.9.1 @@ -0,0 +1 @@ +MD5 7c5434cff3b06ecc860c8941d53a6b03 mg4j-0.9.1-src.tar.gz 169529 diff --git a/dev-java/mg4j/files/mg4j-build.patch b/dev-java/mg4j/files/mg4j-build.patch new file mode 100644 index 000000000000..eef1c4878cbb --- /dev/null +++ b/dev-java/mg4j/files/mg4j-build.patch @@ -0,0 +1,56 @@ +diff -uprN mg4j-0.9.orig/build.xml mg4j-0.9/build.xml +--- mg4j-0.9.orig/build.xml 2004-09-01 12:04:18.000000000 +0200 ++++ mg4j-0.9/build.xml 2004-11-17 00:30:41.879119728 +0100 +@@ -39,25 +39,34 @@ + includes="it/unimi/dsi/mg4j/query/parser/**" + nowarn="on" + debug="on" +- optimize="on" ++ optimize="on" + destdir="${build}" +- source="1.4" +- /> ++ source="1.4" ++ target="1.4"> ++ ++ <classpath> ++ <pathelement path="lib/jal.jar;lib/fastutil.jar;lib/gnu.getopt.jar;lib/libreadline-java.jar;lib/colt.jar" /> ++ </classpath> ++ </javac> + </target> + + <target name="compile" depends="init,compile-parser"> + <javac srcdir="${src}" + debug="on" +- optimize="on" ++ optimize="on" + destdir="${build}" +- source="1.4" +- /> ++ source="1.4" ++ target="1.4"> ++ ++ <classpath> ++ <pathelement path="lib/jal.jar;lib/fastutil.jar;lib/gnu.getopt.jar;lib/libreadline-java.jar;lib/colt.jar" /> ++ </classpath> ++ </javac> + </target> + + <target name="jar" depends="compile"> + <jar jarfile="mg4j-${version}.jar" +- basedir="${build}" +- /> ++ basedir="${build}" /> + </target> + + +@@ -69,8 +78,7 @@ + sourcepath="${src}" + private="off" + source="1.4" +- windowtitle="MG4J ${version}" +- > ++ windowtitle="MG4J ${version}"> + <link href="${j2se.apiurl}"/> + <link href="${fastutil.apiurl}"/> + <link href="${colt.apiurl}"/> diff --git a/dev-java/mg4j/metadata.xml b/dev-java/mg4j/metadata.xml new file mode 100644 index 000000000000..f5e039ea7f4b --- /dev/null +++ b/dev-java/mg4j/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>karltk@gentoo.org</email> + <description>Primary maintainer</description> +</maintainer> + +<longdescription> + +</longdescription> +</pkgmetadata> diff --git a/dev-java/mg4j/mg4j-0.9.1.ebuild b/dev-java/mg4j/mg4j-0.9.1.ebuild new file mode 100644 index 000000000000..ca64bd9d41e5 --- /dev/null +++ b/dev-java/mg4j/mg4j-0.9.1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/mg4j/mg4j-0.9.1.ebuild,v 1.1 2004/12/04 13:19:02 karltk Exp $ + +inherit eutils java-pkg + +DESCRIPTION="MG4J (Managing Gigabytes for Java) is a collaborative effort aimed at providing a free Java implementation of inverted-index compression technique." +SRC_URI="http://mg4j.dsi.unimi.it/${P}-src.tar.gz" +HOMEPAGE="http://mg4j.dsi.unimi.it" +LICENSE="LGPL-2.1" +SLOT="0.9" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="doc jikes" + +DEPEND=">=virtual/jdk-1.4 + >=dev-java/javacc-3" + +RDEPEND=">=virtual/jdk-1.4 + =dev-java/fastutil-4.3* + >=dev-java/jal-20031117 + =dev-java/colt-1.1* + =dev-java/java-getopt-1.0* + =dev-java/libreadline-java-0.8*" + +src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/mg4j-build.patch + + mkdir lib/ + cd lib/ + + java-pkg_jar-from colt + java-pkg_jar-from fastutil-4.3 + java-pkg_jar-from jal + java-pkg_jar-from libreadline-java + java-pkg_jar-from java-getopt-1 +} + +src_compile () { + local antflags="jar" + use doc && antflags="${antflags} javadoc" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + ant ${antflags} || die "Compilation failed" +} + +src_install() { + mv ${P}.jar ${PN}.jar + java-pkg_dojar ${PN}.jar + use doc && java-pkg_dohtml -r docs/* +} + |