Initial import. Fixes #63292.
authorKarl Trygve Kalleberg <karltk@gentoo.org>
Sat, 4 Dec 2004 13:53:41 +0000 (13:53 +0000)
committerKarl Trygve Kalleberg <karltk@gentoo.org>
Sat, 4 Dec 2004 13:53:41 +0000 (13:53 +0000)
dev-java/webgraph/ChangeLog [new file with mode: 0644]
dev-java/webgraph/Manifest [new file with mode: 0644]
dev-java/webgraph/files/digest-webgraph-1.4 [new file with mode: 0644]
dev-java/webgraph/files/webgraph-gentoo.patch [new file with mode: 0644]
dev-java/webgraph/metadata.xml [new file with mode: 0644]
dev-java/webgraph/webgraph-1.4.ebuild [new file with mode: 0644]

diff --git a/dev-java/webgraph/ChangeLog b/dev-java/webgraph/ChangeLog
new file mode 100644 (file)
index 0000000..07d4cdd
--- /dev/null
@@ -0,0 +1,8 @@
+# ChangeLog for dev-java/webgraph
+# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed unde the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/webgraph/ChangeLog,v 1.5 2004/12/04 13:53:41 karltk Exp $
+
+*webgraph-1.4 (04 Dec 2004)
+
+  04 Dec 2004; Karl Trygve Kalleberg <karltk@gentoo.org> webgraph-1.4.ebuild:
+  Initial import. Ebuild submitted by Jan Brinkmann <luck@the-luckyduck.de>.
diff --git a/dev-java/webgraph/Manifest b/dev-java/webgraph/Manifest
new file mode 100644 (file)
index 0000000..cefc3d7
--- /dev/null
@@ -0,0 +1,5 @@
+MD5 8c4fc7f4d7e092ae277fc70c6a38cdf9 webgraph-1.4.ebuild 1340
+MD5 e988cc02db434fb499c077157fe103ab ChangeLog 398
+MD5 0c9017518e143d58321621a078612580 metadata.xml 340
+MD5 691e86513d4baf7f43f8159360c15094 files/digest-webgraph-1.4 67
+MD5 ce2de7b5b8bcadaaedcce0d9912e5ac0 files/webgraph-gentoo.patch 1032
diff --git a/dev-java/webgraph/files/digest-webgraph-1.4 b/dev-java/webgraph/files/digest-webgraph-1.4
new file mode 100644 (file)
index 0000000..388e051
--- /dev/null
@@ -0,0 +1 @@
+MD5 7bb0b781124d8c6966c927ab669f697c webgraph-1.4-src.tar.gz 53214
diff --git a/dev-java/webgraph/files/webgraph-gentoo.patch b/dev-java/webgraph/files/webgraph-gentoo.patch
new file mode 100644 (file)
index 0000000..a18d127
--- /dev/null
@@ -0,0 +1,38 @@
+diff -uprN webgraph-1.4.old/build.xml webgraph-1.4/build.xml
+--- webgraph-1.4.old/build.xml 2004-11-25 22:09:18.924727128 +0100
++++ webgraph-1.4/build.xml     2004-11-25 22:31:37.224274672 +0100
+@@ -15,6 +15,14 @@
+   <property name="jal.apiurl"
+     value="http://vigna.dsi.unimi.it/jal/docs/"/>
+ 
++  <path id="compile.classpath">
++      <pathelement location="lib/jal.jar" />
++      <pathelement location="lib/colt.jar" />
++      <pathelement location="lib/fastutil.jar" />
++      <pathelement location="lib/gnu.getopt.jar" />
++      <pathelement location="lib/mg4j.jar" />
++  </path>
++
+   <target name="init">
+     <mkdir dir="${build}"/>
+   </target>
+@@ -25,7 +33,10 @@
+       optimize="on"
+         destdir="${build}"
+       source="1.4"
+-    />
++      target="1.4">
++    
++      <classpath refid="compile.classpath" />
++</javac>
+   </target>
+ 
+   <target name="jar" depends="compile">
+@@ -48,6 +59,7 @@
+       <link href="${fastutil.apiurl}"/>
+       <link href="${mg4j.apiurl}"/>
+       <link href="${colt.apiurl}"/>
++      <classpath refid="compile.classpath" />
+     </javadoc>
+   </target>
+ 
diff --git a/dev-java/webgraph/metadata.xml b/dev-java/webgraph/metadata.xml
new file mode 100644 (file)
index 0000000..ebb9a1d
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+<herd>java</herd>
+
+<longdescription>
+WebGraph is a framework to study the web graph. It provides simple ways to 
+manage very large graphs, exploiting modern compression techniques.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-java/webgraph/webgraph-1.4.ebuild b/dev-java/webgraph/webgraph-1.4.ebuild
new file mode 100644 (file)
index 0000000..1ac0bf1
--- /dev/null
@@ -0,0 +1,57 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/webgraph/webgraph-1.4.ebuild,v 1.1 2004/12/04 13:53:41 karltk Exp $
+
+inherit eutils java-pkg
+
+DESCRIPTION="WebGraph is a framework to study the web graph. It provides simple ways to manage very large graphs, exploiting modern compression techniques."
+SRC_URI="http://webgraph.dsi.unimi.it/${P}-src.tar.gz"
+HOMEPAGE="http://webgraph.dsi.unimi.it"
+LICENSE="LGPL-2.1"
+SLOT="1.4"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="doc jikes"
+
+DEPEND=">=virtual/jdk-1.4
+       >=dev-java/jal-20031117"
+RDEPEND=">=virtual/jre-1.4
+       =dev-java/java-getopt-1.0*
+       =dev-java/fastutil-4.3*
+       =dev-java/colt-1.1*
+       =dev-java/mg4j-0.9*"
+
+src_unpack() {
+       unpack ${A}
+       cd ${S}
+
+       epatch ${FILESDIR}/webgraph-gentoo.patch
+
+       mkdir lib/ && cd lib/
+       java-pkg_jar-from java-getopt-1
+       java-pkg_jar-from fastutil-4.3
+       java-pkg_jar-from colt colt.jar
+       java-pkg_jar-from jal jal.jar
+       java-pkg_jar-from mg4j-0.9
+}
+
+src_compile() {
+       local antflags="jar"
+       if use doc; then
+               antflags="${antflags} javadoc"
+       fi
+       if use jikes; then
+               antflags="${antflags} -Dbuild.compiler=jikes"
+       fi
+       ant ${antflags}
+}
+
+src_install() {
+       mv ${P}.jar ${PN}.jar
+       java-pkg_dojar ${PN}.jar
+
+       dodoc CHANGES COPYING
+       if use doc; then
+               java-pkg_dohtml -r docs/*
+       fi
+}
+