/[gentoo-x86]/sys-cluster/openais/openais-1.1.4.ebuild
Gentoo

Contents of /sys-cluster/openais/openais-1.1.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Fri May 4 07:20:30 2012 UTC (12 months, 2 weeks ago) by jdhore
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
dev-util/pkgconfig -> virtual/pkgconfig

(Portage version: 2.2.0_alpha101/cvs/Linux i686)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-cluster/openais/openais-1.1.4.ebuild,v 1.6 2011/08/04 13:37:48 naota Exp $
4
5 EAPI="2"
6
7 inherit autotools base
8
9 DESCRIPTION="Open Application Interface Specification cluster framework"
10 HOMEPAGE="http://www.openais.org/"
11 SRC_URI="ftp://ftp:${PN}.org@${PN}.org/downloads/${P}/${P}.tar.gz"
12
13 LICENSE="BSD public-domain"
14 SLOT="0"
15 KEYWORDS="amd64 hppa x86 ~x86-fbsd"
16 IUSE=""
17
18 RDEPEND="sys-cluster/corosync"
19 DEPEND="${RDEPEND}
20 virtual/pkgconfig"
21
22 DOCS=( "${S}/AUTHORS" "${S}/README.amf" )
23
24 src_prepare() {
25 # respect CFLAGS
26 sed -i -e "s/\$OPT_CFLAGS \$GDB_FLAGS//" configure.ac || die
27 # respect LDFLAGS
28 sed -i -e "s/\$(CFLAGS) -shared/\$(CFLAGS) \$(LDFLAGS) -shared/" \
29 services/Makefile.am || die
30 # don't install docs
31 sed -i -e "/^dist_doc/d" Makefile.am || die
32 eautoreconf
33 }
34
35 src_configure() {
36 econf \
37 --disable-dependency-tracking \
38 --docdir=/usr/share/doc/${PF} \
39 --localstatedir=/var
40 }
41
42 src_install() {
43 base_src_install
44 rm -rf "${D}"/etc/init.d/openais || die
45 }

  ViewVC Help
Powered by ViewVC 1.1.13