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
commit608e75b15e6195401e5c6e19517e48c89b59b440 (patch)
treec7b5b5dce691e04edfe4df53ab1e8047c0766632 /dev-java
parentforgot to add dev-db/postgresql-docs (diff)
downloadhistorical-608e75b15e6195401e5c6e19517e48c89b59b440.tar.gz
historical-608e75b15e6195401e5c6e19517e48c89b59b440.tar.bz2
historical-608e75b15e6195401e5c6e19517e48c89b59b440.zip
New Package.
Package-Manager: portage-2.1.5_rc3
Diffstat (limited to 'dev-java')
-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..2156e42684b9
--- /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 1202 RMD160 67fb5d71a2394d00a59dc94dbfe14326ab96b89c SHA1 29d867d467657742f09fd72a85fd3019cc76d25e SHA256 d2c952a8dd32a62e8eef0c079abf4363162b410127ffbd03297e72ea6161f7b8
+MISC ChangeLog 336 RMD160 1e56990598503202ba31e1f4b7b1bc83ce648949 SHA1 a9df5becc72f37e84c6987f6ed12d9c9497de365 SHA256 b8a417a8ba25d5f0fcc5727dee5bdf7e5312df7a93c50ab9d81403ba01063f1e
+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
+}
+