blob: cd9f3f6917821e558c883c37e2c0daeff1cf7356 (
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/sys-cluster/openais/openais-1.1.4.ebuild,v 1.7 2012/05/04 07:20:30 jdhore Exp $
EAPI="2"
inherit autotools base
DESCRIPTION="Open Application Interface Specification cluster framework"
HOMEPAGE="http://www.openais.org/"
SRC_URI="ftp://ftp:${PN}.org@${PN}.org/downloads/${P}/${P}.tar.gz"
LICENSE="BSD public-domain"
SLOT="0"
KEYWORDS="amd64 hppa x86 ~x86-fbsd"
IUSE=""
RDEPEND="sys-cluster/corosync"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( "${S}/AUTHORS" "${S}/README.amf" )
src_prepare() {
# respect CFLAGS
sed -i -e "s/\$OPT_CFLAGS \$GDB_FLAGS//" configure.ac || die
# respect LDFLAGS
sed -i -e "s/\$(CFLAGS) -shared/\$(CFLAGS) \$(LDFLAGS) -shared/" \
services/Makefile.am || die
# don't install docs
sed -i -e "/^dist_doc/d" Makefile.am || die
eautoreconf
}
src_configure() {
econf \
--disable-dependency-tracking \
--docdir=/usr/share/doc/${PF} \
--localstatedir=/var
}
src_install() {
base_src_install
rm -rf "${D}"/etc/init.d/openais || die
}
|