]>
Commit | Line | Data |
---|---|---|
402c6898 IB |
1 | # Maintainer: Immae <ismael.bouya@normalesup.org> |
2 | # Maintainer: Jonathan Steel <jsteel at archlinux.org> | |
3 | ||
4 | pkgname='naemon-livestatus' | |
5 | pkgdesc="Event broker for naemon" | |
6 | pkgver=1.0.9 | |
7 | pkgrel=1 | |
8 | arch=('i686' 'x86_64') | |
9 | url="http://naemon.org" | |
10 | license=('GPL2') | |
11 | depends=('icu' 'naemon') | |
12 | source=(http://labs.consol.de/naemon/release/v$pkgver/src/$pkgname-$pkgver.tar.gz) | |
13 | sha512sums=('110b92914f687477ecd803218b141d8e7cf28de7ce72dc4168e3c6faedab1b3446dd9a81698ef9f80f38969e73b8488341f20cfd9c09856ad76a850685970b4f') | |
14 | backup=('etc/naemon/livestatus.cfg') | |
15 | ||
16 | build() { | |
17 | cd "$srcdir/$pkgname-$pkgver" | |
18 | ||
19 | export PKG_CONFIG_PATH="/usr/lib/naemon/pkgconfig:$PKG_CONFIG_PATH" | |
20 | ./configure --prefix=/usr \ | |
21 | --bindir=/usr/bin \ | |
22 | --datadir="/usr/share/naemon" \ | |
23 | --libdir="/usr/lib/naemon" \ | |
24 | --localstatedir="/var/lib/naemon" \ | |
25 | --sysconfdir="/etc/naemon" \ | |
26 | --mandir="/usr/share/man" | |
27 | ||
28 | make | |
29 | } | |
30 | ||
31 | package() { | |
32 | cd "$srcdir/$pkgname-$pkgver" | |
33 | ||
34 | make DESTDIR="$pkgdir" install | |
35 | } |