diff options
author | root <root@rshg054.dnsready.net> | 2013-05-21 03:20:54 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-21 03:20:54 -0700 |
commit | 4a7d2439a50adfa30bed83cc92ee80ec62476a20 (patch) | |
tree | f176856e5f904e0810172952dd63053dd7f698f1 /pcr | |
parent | e3f225daecfd5cfea4af1a4e8ac4b6c46c7ec363 (diff) |
Tue May 21 03:20:49 PDT 2013
Diffstat (limited to 'pcr')
-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 } |