wok view nagios-nsca/receipt @ rev 10688

centerim: libgpg-error is also needed now
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 27 20:18:44 2011 +0200 (2011-05-27)
parents
children 98890599a932
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 }