public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] dev/dev-zero:master commit in: net-libs/eblob/
@ 2013-01-20 13:35 Tiziano Müller
  0 siblings, 0 replies; only message in thread
From: Tiziano Müller @ 2013-01-20 13:35 UTC (permalink / raw
  To: gentoo-commits

commit:     b2c88ef016ff363f0789d84e054cdaf08d91a01a
Author:     Tiziano Müller <tm <AT> dev-zero <DOT> ch>
AuthorDate: Sun Jan 20 13:01:51 2013 +0000
Commit:     Tiziano Müller <dev-zero <AT> gentoo <DOT> org>
CommitDate: Sun Jan 20 13:01:51 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=commit;h=b2c88ef0

Add ebuild written by me as requirement for cocain-dealer.

---
 net-libs/eblob/Manifest         |    1 +
 net-libs/eblob/eblob-scm.ebuild |   41 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+), 0 deletions(-)

diff --git a/net-libs/eblob/Manifest b/net-libs/eblob/Manifest
new file mode 100644
index 0000000..3d54468
--- /dev/null
+++ b/net-libs/eblob/Manifest
@@ -0,0 +1 @@
+EBUILD eblob-scm.ebuild 1009 SHA256 5591e320c774734015ebabe1b4f17da04007bf08330ec8cf969b510f87caa476 SHA512 e319dcf8e011174cb30c90d34cf32457f0132cf549d459248929991ca32364fd11cd8b1ec1b47232dce55930846016649122f38fe1afd148c6b0130fc4528e8e WHIRLPOOL ddd191c6cd1d01e2a1fe7738665f27d1f1f5f62aa457a74817ef603865241ccd4c7cb120d4f2dc56932a1d1ba8e5d19d89a6debaf6d6a2779e619048f93620a3

diff --git a/net-libs/eblob/eblob-scm.ebuild b/net-libs/eblob/eblob-scm.ebuild
new file mode 100644
index 0000000..a829cbc
--- /dev/null
+++ b/net-libs/eblob/eblob-scm.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit cmake-utils git-2
+
+DESCRIPTION="An append-only low-level IO library, which saves data in blob files."
+HOMEPAGE="http://reverbrain.com/eblob/"
+EGIT_REPO_URI="https://github.com/reverbrain/eblob.git"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug examples +snappy static-libs test"
+
+DEPEND="dev-libs/boost
+	snappy? ( app-arch/snappy )"
+RDEPEND="${DEPEND}"
+
+# TODO:
+# * enable python bindings
+
+src_configure() {
+	if ! use static-libs ; then
+		sed -i -e '/^install/s|eblob_static||' \
+			"${S}/library/CMakeLists.txt" || die "sed failed"
+		sed -i -e '/^install/s|eblob_cpp_static||' \
+			"${S}/bindings/cpp/CMakeLists.txt" || die "sed failed"
+	fi
+
+	local mycmakeargs=(
+		-DWITH_PYTHON=OFF
+		$(cmake-utils_use_with debug ASSERTs)
+		$(cmake-utils_use_with examples)
+		$(cmake-utils_use_with snappy)
+		$(cmake-utils_use_with test TESTS)
+	)
+	cmake-utils_src_configure
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-20 13:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-20 13:35 [gentoo-commits] dev/dev-zero:master commit in: net-libs/eblob/ Tiziano Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox