wok annotate nagios-nsca/receipt @ rev 9268

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