diff options
author | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-21 03:13:03 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@lavabit.com> | 2013-05-21 03:13:03 -0300 |
commit | e777f99123e62a5547bb816e09a460a065c71755 (patch) | |
tree | 5f9abbef9d9ed2757e728cb07938ab113b57437b /pcr/ha-glue | |
parent | 39c5e13b513807ef86e8711cad763877b28f5af8 (diff) | |
download | abslibre-e777f99123e62a5547bb816e09a460a065c71755.tar.gz abslibre-e777f99123e62a5547bb816e09a460a065c71755.tar.bz2 abslibre-e777f99123e62a5547bb816e09a460a065c71755.zip |
ha-glue: fixing pkg
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 } |