summaryrefslogtreecommitdiff
path: root/pcr/ha-pacemaker/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@parabola.nu>2013-06-03 11:41:39 -0300
committerNicolás Reynolds <fauno@parabola.nu>2013-06-03 11:41:39 -0300
commite175a6a319b5392f499b6f679f89f8346d8dd799 (patch)
treeaa84ee61b39ef860b4169e81369c545a9a732658 /pcr/ha-pacemaker/PKGBUILD
parent6370ae5c715a94a0390b77d10adb6e8ee3b39ef9 (diff)
parent8bc9d00dfcde0f3b844917713b3d31749ce51b50 (diff)
downloadabslibre-e175a6a319b5392f499b6f679f89f8346d8dd799.tar.gz
abslibre-e175a6a319b5392f499b6f679f89f8346d8dd799.tar.bz2
abslibre-e175a6a319b5392f499b6f679f89f8346d8dd799.zip
Merge branch 'master' of vparabola:abslibre
Diffstat (limited to 'pcr/ha-pacemaker/PKGBUILD')
-rw-r--r--pcr/ha-pacemaker/PKGBUILD83
1 files changed, 0 insertions, 83 deletions
diff --git a/pcr/ha-pacemaker/PKGBUILD b/pcr/ha-pacemaker/PKGBUILD
deleted file mode 100644
index 2cd0be84c..000000000
--- a/pcr/ha-pacemaker/PKGBUILD
+++ /dev/null
@@ -1,83 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=ha-pacemaker
-_pkgname=${pkgname:3}
-pkgver=1.1.9
-pkgrel=3
-pkgdesc='Cluster resource manager'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://linux-ha.org/wiki/${_pkgname^}
-license=GPL2
-depends=(
- corosync
- ha-heartbeat
- ha-resourceagent
- libqb
-)
-optdepens=(
- inkscape
- lynx
- openssh
- valgrind
- w3m
-)
-makedepends=(
- help2man
- inkscape
- libxslt
- lynx
- openssh
- valgrind
- w3m
-)
-options=(!libtool)
-source=https://github.com/ClusterLabs/$_pkgname/archive/${_pkgname^}-$pkgver.tar.gz
-sha512sums=97d13cf722aea9cba1ce344afc3137d9edc15a978d2a7acc44179c4859ecb18f800312caf02c9574b0fab528cd6e2c3e4876a1ffde8a08c2500c0ba816cdf071
-
-prepare() {
- cd $srcdir/$_pkgname-${_pkgname^}-$pkgver
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|;
- ' configure.ac
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' {cib,crmd,cts,lib/{cib,cluster,common,fencing,lrmd,pengine,services,transition},mcp,pengine,replace,tools}/Makefile.am
-}
-
-build() {
- cd $srcdir/$_pkgname-${_pkgname^}-$pkgver
- setarch $CARCH ./autogen.sh
- setarch $CARCH ./configure --prefix=/usr\
- --enable-fatal-warnings=yes\
- --disable-static\
- --enable-systemd\
- --enable-upstart\
- --libdir=/usr/lib\
- --libexecdir=/usr/lib\
- --localstatedir=/var\
- --sysconfdir=/etc\
- --with-acl\
- --with-ais\
- --with-cibsecrets\
- --with-cman\
- --with-corosync\
- --with-cs-quorum\
- --with-esmtp\
- --with-heartbeat\
- --with-lcrso-dir=/usr/lib/lcrso\
- --with-nagios\
- --with-profiling\
- --with-snmp\
- --without-gcov
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$_pkgname-${_pkgname^}-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- mv $pkgdir/usr/sbin/cibsecret{,-pacemaker}
-}