wok view nagios-nsca/receipt @ rev 22045

updated tmux-mem-cpu-load (2.2.1 -> 3.4.0)
author Hans-G?nter Theisgen
date Tue Oct 22 14:09:23 2019 +0100 (2019-10-22)
parents 3765f181a6d5
children f3fb994aac6d
line source
1 # SliTaz package receipt.
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 SOURCE="nsca"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://www.nagios.org/"
12 #WGET_URL="$SF_MIRROR/nagios/$TARBALL"
13 WGET_URL="http://prdownloads.sourceforge.net/sourceforge/nagios/$TARBALL"
15 BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev"
16 DEPENDS="libmcrypt"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --localstatedir=/var --datadir=/usr/share/nagios \
24 --sysconfdir=/etc/nagios --sbindir=/usr/sbin \
25 --bindir=/usr/sbin --libexecdir=/usr/lib/nagios \
26 --with-nsca-user=nagios \
27 --with-nsca-group=nagios \
28 --with-nsca-port=5667 \
29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
30 make all
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/sbin \
37 $fs/etc/nagios
38 cp -a $src/src/nsca $fs/usr/sbin
39 cp -a $src/src/send_nsca $fs/usr/sbin
41 install -m 0644 $src/sample-config/nsca.cfg $fs/etc/nagios
42 install -m 0644 $src/sample-config/send_nsca.cfg $fs/etc/nagios
43 }