Browse Source

new ebuild: dev-libs/libcouchbase

copied and bumped from moltonel overlay
master
Brian S. Stephan 3 months ago
parent
commit
27ed33f5f8
2 changed files with 37 additions and 0 deletions
  1. +2
    -0
      dev-libs/libcouchbase/Manifest
  2. +35
    -0
      dev-libs/libcouchbase/libcouchbase-2.10.6.ebuild

+ 2
- 0
dev-libs/libcouchbase/Manifest View File

@@ -0,0 +1,2 @@
DIST CouchbaseMock-1.4.3.jar 2634861 BLAKE2B 5ceb90e1fc73615e5c833b6b36115cfbc75a45bb57b25bdc19301c994ce6cf748a03588fd87887e7d5631101123a0424426b04a4fc72bb59119ae847b181c446 SHA512 5d9e5b0b66e648e5d2b4150cf9663213e77a1f548540dd9a1cf2d22eeaa6d4f0b8c0417252a7745c44d26d33e7e233e885ee9af4e44fcdb6fde00f70bcebd751
DIST libcouchbase-2.10.6.tar.gz 1342934 BLAKE2B d86844367347e4496a73c1b2c42cc2f75006bd2e78bf4bb07e8173a0df90780ec7035fd0281b2be8d8ff3fef89dcff4f042cc687e80727eb55a8bf7dd6b46781 SHA512 3aa2e18b74a7e567f0c5653d5ed23f11658127f1a675543c2ca30aefd37fbc9e69b83f497032e104ada27d7ba56a49db39d3b4cf26f53a56b786d66329aa5fff

+ 35
- 0
dev-libs/libcouchbase/libcouchbase-2.10.6.ebuild View File

@@ -0,0 +1,35 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

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
test? ( http://packages.couchbase.com/clients/c/mock/CouchbaseMock-1.4.3.jar )"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="doc static-libs tools test"

# FIXME: tests take forever to run ?
#RESTRICT="test"

RDEPEND="dev-libs/libevent
dev-libs/openssl:*"
DEPEND="${RDEPEND}
dev-util/cmake"

src_configure() {
use test && cp "${DISTDIR}/CouchbaseMock-1.4.3.jar" "${WORKDIR}/${P}/tests/CouchbaseMock.jar"
./cmake/configure --prefix "${EPREFIX}" $(use_enable tools) $(use_enable test couchbasemock)
}

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
}

Loading…
Cancel
Save