summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpigfoot <pigfoot@gmail.com>2014-02-19 18:07:31 +0800
committerpigfoot <pigfoot@gmail.com>2014-02-19 18:07:31 +0800
commitc5c71b24c8adcb9789d491109f1482e1427542a5 (patch)
tree67f45acb9a7baccdb52f74b90149cdfad6de684d /dev-libs
parentAdd rocksdb (git version) (diff)
downloadpigfoot-c5c71b24c8adcb9789d491109f1482e1427542a5.tar.gz
pigfoot-c5c71b24c8adcb9789d491109f1482e1427542a5.tar.bz2
pigfoot-c5c71b24c8adcb9789d491109f1482e1427542a5.zip
Add mtbl (git version)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/mtbl/Manifest1
-rw-r--r--dev-libs/mtbl/mtbl-9999.ebuild38
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/mtbl/Manifest b/dev-libs/mtbl/Manifest
new file mode 100644
index 0000000..1214198
--- /dev/null
+++ b/dev-libs/mtbl/Manifest
@@ -0,0 +1 @@
+EBUILD mtbl-9999.ebuild 785 SHA256 fea29e5a0537afbf593f7c6347638ad71f264813a53d1732791209e3b3e4e573 SHA512 3cfc3e2cf69766be359e34a2f6722eb06cd2e5bf9d3ec1b6812369d3898c58864396b86cbe974a924186dbad9fefbc655adb2700d180566b1d2a1893b3233306 WHIRLPOOL c0ada177b7ebbc5ec240d9a6d39c2ab7de0161ddebe7c9b2ac1a9075492d1d0b8430b653821c60fbfa55f330e427d84fd3aa56d65051f42919c58e997dc7e40d
diff --git a/dev-libs/mtbl/mtbl-9999.ebuild b/dev-libs/mtbl/mtbl-9999.ebuild
new file mode 100644
index 0000000..046eec5
--- /dev/null
+++ b/dev-libs/mtbl/mtbl-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils autotools-utils
+
+if [[ ${PV} == "9999" ]] ; then
+ EGIT_REPO_URI="https://github.com/farsightsec/${PN}.git
+ git://github.com/farsightsec/${PN}.git"
+ EGIT_MASTER="master"
+ inherit git-2
+fi
+
+DESCRIPTION="mtbl is a C library implementation of the Sorted String Table (SSTable) data structure."
+HOMEPAGE="https://github.com/farsightsec/mtbl"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+
+DEPEND="app-arch/snappy:=
+ sys-libs/zlib:="
+
+RDEPEND="${DEPEND}"
+
+AUTOTOOLS_AUTORECONF=yes
+
+src_prepare() {
+ ./autogen.sh || die
+}
+
+src_install() {
+ dodoc README* ChangeLog*
+
+ autotools-utils_src_install
+}