wok-next view nagios-nsca/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
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 }