You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/zookeeper-c/zookeeper-c-3.4.9.ebuild

38 lines
719 B

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
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"
RESTRICT="!test? ( 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/*
}