wok-next view nagios-nsca/receipt @ rev 21197
rebuild compton because of updated libconfig
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 16 16:44:55 2019 +0100 (2019-11-16) |
parents | f48456621a9d |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="nagios-nsca"
4 VERSION="2.9.1"
5 CATEGORY="network"
6 SHORT_DESC="Service and network monitoring program, remote monitoring"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.nagios.org/"
11 TARBALL="nsca-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/nagios/$TARBALL"
14 BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev"
16 compile_rules() {
17 ./configure \
18 --datadir=/usr/share/nagios \
19 --sysconfdir=/etc/nagios \
20 --sbindir=/usr/sbin \
21 --bindir=/usr/sbin \
22 --libexecdir=/usr/lib/nagios \
23 --with-nsca-user=nagios \
24 --with-nsca-group=nagios \
25 --with-nsca-port=5667 \
26 $CONFIGURE_ARGS &&
27 make all || return 1
29 mkdir -p \
30 $install/usr/sbin/ \
31 $install/etc/nagios/
32 cp -a $src/src/nsca $install/usr/sbin/
33 cp -a $src/src/send_nsca $install/usr/sbin/
35 install -m644 $src/sample-config/nsca.cfg $install/etc/nagios/
36 install -m644 $src/sample-config/send_nsca.cfg $install/etc/nagios/
37 }
39 genpkg_rules() {
40 copy @std
41 DEPENDS="libmcrypt"
42 }