diff options
Diffstat (limited to 'pcr/ha-glue')
-rw-r--r-- | pcr/ha-glue/PKGBUILD | 31 |
1 files changed, 20 insertions, 11 deletions
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 } |