wok-current diff nagios-nsca/receipt @ rev 9437
Down: gnutls to 2.10.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Mar 31 17:59:35 2011 +0000 (2011-03-31) |
parents | |
children | 98890599a932 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/nagios-nsca/receipt Thu Mar 31 17:59:35 2011 +0000 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="nagios-nsca" 1.7 +VERSION="2.7.2" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Service and network monitoring program, remote monitoring." 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +SOURCE="nsca" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.nagios.org/" 1.14 +#WGET_URL="$SF_MIRROR/nagios/$TARBALL" 1.15 +WGET_URL="http://prdownloads.sourceforge.net/sourceforge/nagios/$TARBALL" 1.16 +BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev" 1.17 +DEPENDS="libmcrypt" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.24 + --localstatedir=/var --datadir=/usr/share/nagios \ 1.25 + --sysconfdir=/etc/nagios --sbindir=/usr/sbin \ 1.26 + --bindir=/usr/sbin --libexecdir=/usr/lib/nagios \ 1.27 + --with-nsca-user=nagios \ 1.28 + --with-nsca-group=nagios \ 1.29 + --with-nsca-port=5667 \ 1.30 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.31 + make all 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +genpkg_rules() 1.36 +{ 1.37 + mkdir -p $fs/usr/sbin \ 1.38 + $fs/etc/nagios 1.39 + cp -a $src/src/nsca $fs/usr/sbin 1.40 + cp -a $src/src/send_nsca $fs/usr/sbin 1.41 + 1.42 + install -m 0644 $src/sample-config/nsca.cfg $fs/etc/nagios 1.43 + install -m 0644 $src/sample-config/send_nsca.cfg $fs/etc/nagios 1.44 +}