summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-libs/libcouchbase/Manifest2
-rw-r--r--dev-libs/libcouchbase/libcouchbase-2.2.0.ebuild42
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/libcouchbase/Manifest b/dev-libs/libcouchbase/Manifest
new file mode 100644
index 0000000..dfcf574
--- /dev/null
+++ b/dev-libs/libcouchbase/Manifest
@@ -0,0 +1,2 @@
+DIST libcouchbase-2.2.0.tar.gz 830548 SHA256 d4ac43e7539316249b2d42b93f67e4b8a83b5be75f791d3c58cb88fbb4b67c67 SHA512 a9a654f66d7a95d6592b657900d25bb4dd116ba202da9eebad0de1731b3eaf62658b1c44ca24b5d9949d554f6f09291254e360d552f300f9ddf74706fe2b07dc WHIRLPOOL 8dbbe007a05ac63b6f1f0618626ebe68002f2c9e6addfecd48d2e230310be5a8d779b53f2d4c2c1011e569a5e76eb187c1741dc7a62f8ffce202b4295eb018c7
+EBUILD libcouchbase-2.2.0.ebuild 898 SHA256 74bcbe8e2efbe1f72007aaaf4d669c249a6dd6d24c6f1b7bad4356b4887496ad SHA512 0c01a5efaf30aff5e6b8c0639203be1696ff9738ccb1368ea8a26996c306c5a91dc17037033a2a9be95d369cd6386c408518a5879ed7804fc85794e6d84952c2 WHIRLPOOL 7b66c0a2e3effc685b0750af8ac9960d6c0640072d37bb698b569bcb52828d97b3c63ae7b7cf82a50e6fafc4715faf115dd22d3d07a6501214ebad07721c80d3
diff --git a/dev-libs/libcouchbase/libcouchbase-2.2.0.ebuild b/dev-libs/libcouchbase/libcouchbase-2.2.0.ebuild
new file mode 100644
index 0000000..1e07302
--- /dev/null
+++ b/dev-libs/libcouchbase/libcouchbase-2.2.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=yes
+
+inherit autotools-utils
+
+DESCRIPTION="Couchbase C Client Library"
+HOMEPAGE="http://www.couchbase.com/communities/c-client-library"
+SRC_URI="http://packages.couchbase.com/clients/c/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc static-libs tools"
+
+# tests fails to build
+RESTRICT="test"
+
+RDEPEND=">=dev-libs/libevent-1.4.13"
+DEPEND="${RDEPEND}"
+
+# building in a separate dir fails
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_configure() {
+ local myeconfargs=(
+ $(use_enable tools)
+ )
+ autotools-utils_src_configure
+}
+
+src_install() {
+ default
+ use doc || rm -rf "${D}"/usr/share/doc
+ use static-libs || find "${D}" -type f -name "*.la" -delete
+ use tools || rm -rf "${D}"/usr/share/man
+ rmdir "${D}"/usr/share 2>/dev/null
+}