blob: cc958c52e6d3ca6fae1ade7b9268be8bc16f0ed4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# 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
}
|