/[gentoo-x86]/dev-db/ctdb/ctdb-1.0.88.ebuild
Gentoo

Contents of /dev-db/ctdb/ctdb-1.0.88.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Mon May 21 18:45:07 2012 UTC (22 months, 3 weeks ago) by xarthisius
Branch: MAIN
Changes since 1.9: +3 -3 lines
Add missing inheritance of eutils.eclass

(Portage version: 2.2.0_alpha104/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-db/ctdb/ctdb-1.0.88.ebuild,v 1.9 2010/08/12 01:26:11 josejx Exp $
4
5 EAPI="2"
6
7 inherit autotools eutils
8
9 DESCRIPTION="A cluster implementation of the TDB database used by Samba and other projects to store temporary data."
10 HOMEPAGE="http://ctdb.samba.org/"
11 SRC_URI="http://ctdb.samba.org/packages/redhat/RHEL5/${P}.tgz"
12 LICENSE="GPL-3"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86"
15 IUSE=""
16
17 DEPEND="dev-libs/popt"
18 RDEPEND="${DEPEND}"
19
20 src_prepare() {
21 AT_M4DIR="-I ${S}/lib/replace -I ${S}/lib/talloc -I ${S}/lib/tdb -I ${S}/lib/popt -I ${S}/lib/events"
22 autotools_run_tool autoheader ${AT_M4DIR} || die "running autoheader failed"
23 eautoconf ${AT_M4DIR}
24
25 epatch "${FILESDIR}"/${PN}-functions.patch
26 epatch "${FILESDIR}"/${PN}-50.samba_gentoo.patch
27 epatch "${FILESDIR}"/${PN}-41.httpd_gentoo.patch
28 }
29
30 src_install() {
31 emake DESTDIR="${D}" install || die "emake install failed"
32
33 dodoc "${D}/usr/share/doc/ctdb/README.eventscripts"
34 rm -rf "${D}/usr/share/doc/ctdb"
35
36 dohtml web/* doc/*.html
37
38 newinitd "${FILESDIR}/${PN}.initd" ctdb || die "newinitd failed"
39 newconfd "${S}/config/ctdb.sysconfig" ctdb || die "newconfd failed"
40 }

  ViewVC Help
Powered by ViewVC 1.1.20