1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 DESCRIPTION="C client interface to Zookeeper server"
7 HOMEPAGE="https://zookeeper.apache.org/"
8 SRC_URI="mirror://apache/zookeeper/zookeeper-${PV}/zookeeper-${PV}.tar.gz"
13 IUSE="doc static-libs test"
17 doc? ( app-doc/doxygen )
18 test? ( dev-util/cppunit )"
20 S="${WORKDIR}/zookeeper-${PV}/src/c"
24 $(use_enable static-libs static) \
25 $(use_with test cppunit)
30 use doc && emake doxygen-doc
35 use doc && dohtml docs/html/*