summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2008-04-15 09:02:22 +0000
committerAlistair Bush <ali_bush@gentoo.org>2008-04-15 09:02:22 +0000
commit3712a9f367cb5dcd5cb0931ecaada07d35b217f6 (patch)
tree711f6fe94315fcf6f44d7ff6cc64ed7ca806ee87
parentforgot to add dev-db/postgresql-docs (diff)
downloadgentoo-2-3712a9f367cb5dcd5cb0931ecaada07d35b217f6.tar.gz
gentoo-2-3712a9f367cb5dcd5cb0931ecaada07d35b217f6.tar.bz2
gentoo-2-3712a9f367cb5dcd5cb0931ecaada07d35b217f6.zip
New Package.
(Portage version: 2.1.5_rc3)
-rw-r--r--dev-java/sux4j/ChangeLog10
-rw-r--r--dev-java/sux4j/Manifest4
-rw-r--r--dev-java/sux4j/metadata.xml16
-rw-r--r--dev-java/sux4j/sux4j-1.0.1.ebuild51
4 files changed, 81 insertions, 0 deletions
diff --git a/dev-java/sux4j/ChangeLog b/dev-java/sux4j/ChangeLog
new file mode 100644
index 000000000000..6d99b1d14a45
--- /dev/null
+++ b/dev-java/sux4j/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/sux4j
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sux4j/ChangeLog,v 1.1 2008/04/15 09:02:22 ali_bush Exp $
+
+*sux4j-1.0.1 (15 Apr 2008)
+
+ 15 Apr 2008; Alistair Bush <ali_bush@gentoo.org> +metadata.xml,
+ +sux4j-1.0.1.ebuild:
+ New Package.
+
diff --git a/dev-java/sux4j/Manifest b/dev-java/sux4j/Manifest
new file mode 100644
index 000000000000..0832974c7064
--- /dev/null
+++ b/dev-java/sux4j/Manifest
@@ -0,0 +1,4 @@
+DIST sux4j-1.0.1-src.tar.gz 69020 RMD160 133fe9c5c0385b6eff64eaff2e2154832165bd38 SHA1 4c9abff90d24ae06164c37d1d31c1f10a06e5b3d SHA256 9baf8d0414b08b7f482374c0f5d3d148aa642247223e4a32249710a70a5d7655
+EBUILD sux4j-1.0.1.ebuild 1105 RMD160 a464850827e31f5f04931acd69dff5f76526ec8c SHA1 bb9b0b20a68b41ba2c8ef3e0f5d289c3e394352d SHA256 8041c39b3e6204593763148d37b5f7a95ccc28a516e272bb5828663e8809c413
+MISC ChangeLog 248 RMD160 373c6f35df664f17f0c236ae928ebd01d7ca60cc SHA1 686d2f65ac6cd1754f29d7bd37f411c18ef85937 SHA256 a23f3f5f7943f261e5723b5f99f36c61cb7f85a5d212b890577615129daa9ac2
+MISC metadata.xml 980 RMD160 5a4a8835e18adee227df380857e342f93546eb8e SHA1 ae32e4965d9ee019f7513ea70b895ce84efc8f9f SHA256 9dbcd7f5226e82576e62942378c2d963f4a735eb789fd0448437d4dfcfe0f54a
diff --git a/dev-java/sux4j/metadata.xml b/dev-java/sux4j/metadata.xml
new file mode 100644
index 000000000000..18d3cb3a4bb5
--- /dev/null
+++ b/dev-java/sux4j/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>java</herd>
+ <longdescription lang="en">
+ Sux in an umbrella nickname for the results of my fiddling with the implementation of basic succinct data strucures.
+
+The resulting code is rather sparse. The main highlights are:
+
+ * a novel, broadword-based implementation of rank/select queries for up to 264 bits that is highly competitive with known 32-bit implementations on 64-bit architectures (additional space required is 25% for ranking and 12.5%-37.5% for selection);
+ * several Java structures using the Elias–Fano representation of monotone sequences for storing pointers, variable-length bit arrays, etc.
+ * Java code implementing minimal perfect hashing using around 2.65 bits per element (also using some broadword ideas);
+ * a few Java implementation of monotone minimal perfect hashing.
+ </longdescription>
+</pkgmetadata>
+
diff --git a/dev-java/sux4j/sux4j-1.0.1.ebuild b/dev-java/sux4j/sux4j-1.0.1.ebuild
new file mode 100644
index 000000000000..fa0dd121e78a
--- /dev/null
+++ b/dev-java/sux4j/sux4j-1.0.1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/sux4j/sux4j-1.0.1.ebuild,v 1.1 2008/04/15 09:02:22 ali_bush Exp $
+
+EAPI="1"
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Sux: Implementing Succinct Data Structures"
+HOMEPAGE="http://sux.dsi.unimi.it/"
+SRC_URI="http://sux.dsi.unimi.it/${P}-src.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE=""
+
+COMMON_DEP=">=dev-java/fastutil-5.1.3
+ dev-java/commons-io:1
+ dev-java/colt
+ dev-java/dsiutils
+ dev-java/log4j
+ dev-java/commons-collections
+ dev-java/commons-configuration
+ dev-java/jsap
+ dev-java/commons-lang:2.1
+ =dev-java/junit-3.8*"
+
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+ test? ( dev-java/emma )
+ app-arch/unzip
+ ${COMMON_DEP}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ java-ant_rewrite-classpath
+}
+
+EANT_GENTOO_CLASSPATH="fastutil:5.0,commons-io:1,colt,dsiutils,log4j,commons-collections,commons-configuration,jsap,commons-lang:2.1,junit"
+
+src_install() {
+ java-pkg_newjar "${P}.jar"
+ use doc && java-pkg_dojavadoc docs
+ use source && java-pkg_dosrc src
+}
+