blob: 7bd87f791230ab8aa272f8064cbd767541d7d411 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=corosync
_pkgflag=lts
pkgver=2.3.0
pkgrel=4
pkgdesc='Cluster engine for nodal communication systems with additional features for implementing high availability within applications'
arch=(
i686
x86_64
mips64el
)
url=http://www.$pkgname.org
license=BSD
depends=(
dbus
libqb
libstatgrab
net-snmp
nss
)
optdepends='augeas: for config files'
makedepends=(
augeas
doxygen
graphviz
)
conflicts=$pkgname-$_pkgflag
options=(!libtool)
source=http://$pkgname.org/download/$pkgname-$pkgver.tar.gz
sha512sums=cd2ff5182f0d4827a10d50a211aa073e3d544bf7b98f9b0c834243c0d2cd5446d7950021cb1a21fc16f4951c8b2acf4b75c0b0c72d815b7d67dcba71623d2e51
build() {
cd $srcdir/$pkgname-$pkgver
setarch $CARCH ./configure --prefix=/usr\
--datarootdir=/usr/share\
--disable-coverage\
--disable-fatal-warnings\
--disable-rdma\
--disable-static\
--enable-augeas\
--enable-dbus\
--enable-monitoring\
--enable-qdevices\
--enable-secure-build\
--enable-shared\
--enable-snmp\
--enable-systemd\
--enable-testagents\
--enable-watchdog\
--enable-xmlconf\
--libdir=/usr/lib\
--localstatedir=/var\
--sbindir=/usr/bin\
--sysconfdir=/etc\
--with-initddir=/etc/rc.d\
--with-systemddir=/usr/lib/systemd/system
setarch $CARCH make
}
package () {
cd $srcdir/$pkgname-$pkgver
setarch $CARCH make DESTDIR=$pkgdir install
}
# vim:set ts=2 sw=2 et:
|