dev-libs/zookeeper-c: initial import; ebuild by me
authorAlexis Ballier <aballier@gentoo.org>
Tue, 15 Mar 2016 19:03:45 +0000 (20:03 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Tue, 15 Mar 2016 19:04:06 +0000 (20:04 +0100)
Package-Manager: portage-2.2.28
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-libs/zookeeper-c/Manifest [new file with mode: 0644]
dev-libs/zookeeper-c/metadata.xml [new file with mode: 0644]
dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild [new file with mode: 0644]

diff --git a/dev-libs/zookeeper-c/Manifest b/dev-libs/zookeeper-c/Manifest
new file mode 100644 (file)
index 0000000..c999003
--- /dev/null
@@ -0,0 +1 @@
+DIST zookeeper-3.4.8.tar.gz 22261552 SHA256 f10a0b51f45c4f64c1fe69ef713abf9eb9571bc7385a82da892e83bb6c965e90 SHA512 a5f0eca3c66655e0116aeddd92af228402d3d68350b30f9400b3638ef09610d903b7c87a2bb49a5594b12a4d082048c259ba3da121c1c6da4752dd5f5812bfec WHIRLPOOL f4e16b4a771f3a5f57f3ab1b0554d4ac811146414c37037115a3a9c6477a43f8c8c8200eff82358164f7a3af449c570d99005516c13cbc9a9d718b649849b82c
diff --git a/dev-libs/zookeeper-c/metadata.xml b/dev-libs/zookeeper-c/metadata.xml
new file mode 100644 (file)
index 0000000..d8d5cc7
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>aballier@gentoo.org</email>
+               <name>Alexis Ballier</name>
+       </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild b/dev-libs/zookeeper-c/zookeeper-c-3.4.8.ebuild
new file mode 100644 (file)
index 0000000..c101141
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="C client interface to Zookeeper server"
+HOMEPAGE="https://zookeeper.apache.org/"
+SRC_URI="mirror://apache/zookeeper/zookeeper-${PV}/zookeeper-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc static-libs test"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+       doc? ( app-doc/doxygen )
+       test? ( dev-util/cppunit )"
+
+S="${WORKDIR}/zookeeper-${PV}/src/c"
+
+src_configure() {
+       econf \
+               $(use_enable static-libs static) \
+               $(use_with test cppunit)
+}
+
+src_compile() {
+       emake
+       use doc && emake doxygen-doc
+}
+
+src_install() {
+       default
+       use doc && dohtml docs/html/*
+}