wok-next view nagios-nsca/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | a3c581bf52b8 |
children | d5aab818505e |
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="erjo@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 }