wok-next view nagios-nsca/receipt @ rev 21134
pngquant: skip checksum for Git-based source
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jan 20 15:38:18 2019 +0200 (2019-01-20) |
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 }