aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Healy <lmiphay@gmail.com>2015-06-12 22:41:06 +0100
committerPaul Healy <lmiphay@gmail.com>2015-06-12 22:41:06 +0100
commit2434a893a7eca0d308745a539496b1547f91bbc9 (patch)
tree904f92b0273b1b4d1ccb7de31e4fb6cb799ec37f /dev-db/rocksdb
parentfix typo in filename (diff)
downloadlmiphay-2434a893a7eca0d308745a539496b1547f91bbc9.tar.gz
lmiphay-2434a893a7eca0d308745a539496b1547f91bbc9.tar.bz2
lmiphay-2434a893a7eca0d308745a539496b1547f91bbc9.zip
initial set of ebuilds for rocksdb - note trunk builds but is currently failing some of the tests
Diffstat (limited to 'dev-db/rocksdb')
-rw-r--r--dev-db/rocksdb/Manifest3
-rw-r--r--dev-db/rocksdb/rocksdb-3.11.1.ebuild46
-rw-r--r--dev-db/rocksdb/rocksdb-9999.ebuild45
3 files changed, 94 insertions, 0 deletions
diff --git a/dev-db/rocksdb/Manifest b/dev-db/rocksdb/Manifest
new file mode 100644
index 0000000..be4d82f
--- /dev/null
+++ b/dev-db/rocksdb/Manifest
@@ -0,0 +1,3 @@
+DIST rocksdb-3.11.1.tar.gz 1640022 SHA256 c51ad66ed79569ef8e1ddc03cdf41c04a916d26ed468263b7f14b7d8ead79f8e SHA512 36d86020feed8f2e8d2537cb92aad27beba123374db2b3e538a4631523452f309901791e2fcbb8f21d91c7005369378cf7c1ce7332432267358fa2d00dcedad1 WHIRLPOOL f57f4c2b60994d23a53cf88204397e37e87651ed8e1d32a65def24a1575d4facd29a12abba04dcb182e35693e4cd1baab31b9553e4e1db59c84ea45db40cae5e
+EBUILD rocksdb-3.11.1.ebuild 827 SHA256 564378a838fb5b393ebf60af87c4bdd6be0ebce3bc9cc28ad1b344e08ea9edd8 SHA512 b5baab3e71347ee05d29f9861f20409c9afe3bd2954fefd5c3abe50fe5a98d120d27a9b90d578ab2b3d41e1c333efc7fdb36f611cca9f826d8abc700b37de9e9 WHIRLPOOL c0554c3df881c18a2b26b9809ee988b44b63766d7ebd306c8615a77856a43bdf618f016fb1c8b4ed13856f2e4d7b9d3364f0550d4ea15225726587b45a54cd07
+EBUILD rocksdb-9999.ebuild 799 SHA256 807724919c4737b38cc77910f933a51a566a129854d4774ceec3b2d3aba9afcc SHA512 83bb90e62d1d52a4cc2331464591820f169f1ca027d7482a645e11cda88841e1507d89de5cf66b3f7818806a63b7113fc99d236d16a36bf66da894c31df649d2 WHIRLPOOL f6d0b184f76d82654008726dd6b1dc74878d70ec217a31c64b52830b04dde86c532d8c59d8ac110e9e49654740a2f4cf05907351d31060aa865497878ca6ac4d
diff --git a/dev-db/rocksdb/rocksdb-3.11.1.ebuild b/dev-db/rocksdb/rocksdb-3.11.1.ebuild
new file mode 100644
index 0000000..5995a95
--- /dev/null
+++ b/dev-db/rocksdb/rocksdb-3.11.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A library that provides an embeddable, persistent key-value store for fast storage"
+HOMEPAGE="http://rocksdb.org"
+SRC_URI="https://github.com/facebook/${PN}/archive/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+java"
+
+RDEPEND="
+ dev-cpp/gflags
+ app-arch/snappy
+ sys-libs/zlib
+ app-arch/bzip2
+ java? ( virtual/jdk )
+"
+DEPEND="
+ ${RDEPEND}"
+
+S="${WORKDIR}/${PN}-${P}"
+
+src_compile() {
+ emake shared_lib all
+
+ if use java ; then
+ emake -j1 rocksdbjava
+ fi
+}
+
+src_install() {
+ emake INSTALL_PATH="${D}/usr" install
+ dodoc README.md
+
+ if use java ; then
+ insinto /usr/lib/${PN}
+ doins java/target/rocksdbjni-${PV}-linux$(getconf LONG_BIT).jar
+ fi
+}
diff --git a/dev-db/rocksdb/rocksdb-9999.ebuild b/dev-db/rocksdb/rocksdb-9999.ebuild
new file mode 100644
index 0000000..3bb3ced
--- /dev/null
+++ b/dev-db/rocksdb/rocksdb-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils git-r3
+
+DESCRIPTION="A library that provides an embeddable, persistent key-value store for fast storage"
+HOMEPAGE="http://rocksdb.org"
+EGIT_REPO_URI="https://github.com/facebook/rocksdb.git"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+java"
+
+RDEPEND="
+ dev-cpp/gflags
+ app-arch/snappy
+ sys-libs/zlib
+ app-arch/bzip2
+ java? ( virtual/jdk )
+"
+DEPEND="
+ ${RDEPEND}
+"
+
+src_compile() {
+ emake shared_lib all
+
+ if use java ; then
+ emake -j1 rocksdbjava
+ fi
+}
+
+src_install() {
+ emake INSTALL_PATH="${D}/usr" install
+ dodoc README.md
+
+ if use java ; then
+ insinto /usr/lib/${PN}
+ doins java/target/rocksdbjni-${PV}-linux$(getconf LONG_BIT).jar
+ fi
+}