From e777f99123e62a5547bb816e09a460a065c71755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Alexandre=20Silva=20Delgado?= Date: Tue, 21 May 2013 03:13:03 -0300 Subject: ha-glue: fixing pkg --- pcr/ha-glue/PKGBUILD | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) (limited to 'pcr') diff --git a/pcr/ha-glue/PKGBUILD b/pcr/ha-glue/PKGBUILD index 06385e9cf..ed46bc66d 100644 --- a/pcr/ha-glue/PKGBUILD +++ b/pcr/ha-glue/PKGBUILD @@ -3,8 +3,8 @@ pkgname=ha-glue _pkgname=${pkgname:3} pkgver=1.0.11 -pkgrel=5 -pkgdesc='A set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack' +pkgrel=6 +pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack' arch=( i686 x86_64 @@ -17,29 +17,31 @@ license=( ) depends=( curl + dbus-glib glib2 libaio libesmtp + libnet libxml2 net-snmp python util-linux ) optdepends=( - #lynx + lynx net-tools openssh - #valgrind - #w3m + valgrind + w3m ) makedepends=( help2man libxslt - #lynx + lynx net-tools openssh - #valgrind - #w3m + valgrind + w3m ) options=!libtool install=$pkgname.install @@ -74,20 +76,27 @@ prepare() { fi cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver - sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|' configure.ac + sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|; + s| -O0||; + s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|; + ' configure.ac + sed -i 's|INCLUDES|AM_CPPFLAGS|; + ' {lib/{clplumbing,lrm,pils,plugins/{InterfaceMgr,compress,lrm,stonith},stonith},logd,lrm/{admin,lrmd,test},replace}/Makefile.am } build() { cd $srcdir/Reusable-Cluster-Components-$_pkgname--$_pkgname-$pkgver setarch $CARCH ./autogen.sh setarch $CARCH ./configure --prefix=/usr\ - --enable-fatal-warnings=no\ + --disable-fatal-warnings\ --enable-static=no\ + --enable-upstart\ --libdir=/usr/lib\ --localstatedir=/var\ --sysconfdir=/etc\ --with-daemon-group=haclient\ - --with-daemon-user=hacluster + --with-daemon-user=hacluster\ + --with-ocf-root=/usr/lib/ocf setarch $CARCH make } -- cgit v1.2.3-2-g168b