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-db/ctdb/ctdb-9999.ebuild

46 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/ctdb/ctdb-9999.ebuild,v 1.4 2012/03/23 10:55:46 scarabeus Exp $
EAPI=4
EGIT_REPO_URI="git://git.samba.org/ctdb.git"
inherit autotools eutils git-2
DESCRIPTION="A cluster implementation of the TDB database used to store temporary data."
HOMEPAGE="http://ctdb.samba.org/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="dev-libs/popt"
RDEPEND="${DEPEND}"
src_prepare() {
AT_M4DIR="-I libreplace -I lib/replace -I ../libreplace -I ../replace"
AT_M4DIR+=" -I lib/talloc -I talloc -I ../talloc"
AT_M4DIR+=" -I lib/tdb -I tdb -I ../tdb"
AT_M4DIR+=" -I lib/popt -I popt -I ../popt"
AT_M4DIR+=" -I lib/tevent"
rm -rf autom4te.cache
rm -f configure config.h.in
autotools_run_tool autoheader ${AT_M4DIR} || die "running autoheader failed"
eautoconf ${AT_M4DIR}
}
src_configure() {
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}" \
--localstatedir="${EPREFIX}/var/lib" \
--with-logdir="${EPREFIX}/var/log/${PN}"
}
src_install() {
default
dohtml web/* doc/*.html
}