wok-stable view nagios-nsca/receipt @ rev 8976
Up: bind to 9.8.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Mar 02 10:01:09 2011 +0000 (2011-03-02) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="nagios-nsca"
4 VERSION="2.7.2"
5 CATEGORY="network"
6 SHORT_DESC="Service and network monitoring program, remote monitoring."
7 MAINTAINER="erjo@slitaz.org"
8 SOURCE="nsca"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.nagios.org/"
11 #WGET_URL="$SF_MIRROR/nagios/$TARBALL"
12 WGET_URL="http://prdownloads.sourceforge.net/sourceforge/nagios/$TARBALL"
13 BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev"
14 DEPENDS="libmcrypt"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --localstatedir=/var --datadir=/usr/share/nagios \
22 --sysconfdir=/etc/nagios --sbindir=/usr/sbin \
23 --bindir=/usr/sbin --libexecdir=/usr/lib/nagios \
24 --with-nsca-user=nagios \
25 --with-nsca-group=nagios \
26 --with-nsca-port=5667 \
27 --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make all
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/sbin \
35 $fs/etc/nagios
36 cp -a $src/src/nsca $fs/usr/sbin
37 cp -a $src/src/send_nsca $fs/usr/sbin
39 install -m 0644 $src/sample-config/nsca.cfg $fs/etc/nagios
40 install -m 0644 $src/sample-config/send_nsca.cfg $fs/etc/nagios
41 }