wok-next view nagios-nsca/receipt @ rev 14458
Up: nagios-nsca (2.9.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Apr 27 02:50:53 2013 +0200 (2013-04-27) |
parents | 18ef1a1df017 |
children | 3765f181a6d5 |
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 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 }