wok-next view nagios-nsca/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | d43bf7aae921 |
children | a3c581bf52b8 |
line source
1 # SliTaz package receipt v2.
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 LICENSE="GPL2"
9 WEB_SITE="http://www.nagios.org/"
11 TARBALL="nsca-$VERSION.tar.gz"
12 #WGET_URL="$SF_MIRROR/nagios/$TARBALL"
13 WGET_URL="http://prdownloads.sourceforge.net/sourceforge/nagios/$TARBALL"
15 BUILD_DEPENDS="libmcrypt-dev perl libwrap-dev"
17 compile_rules() {
18 ./configure \
19 --datadir=/usr/share/nagios \
20 --sysconfdir=/etc/nagios \
21 --sbindir=/usr/sbin \
22 --bindir=/usr/sbin \
23 --libexecdir=/usr/lib/nagios \
24 --with-nsca-user=nagios \
25 --with-nsca-group=nagios \
26 --with-nsca-port=5667 \
27 $CONFIGURE_ARGS &&
28 make all || return 1
30 mkdir -p \
31 $install/usr/sbin/ \
32 $install/etc/nagios/
33 cp -a $src/src/nsca $install/usr/sbin/
34 cp -a $src/src/send_nsca $install/usr/sbin/
36 install -m644 $src/sample-config/nsca.cfg $install/etc/nagios/
37 install -m644 $src/sample-config/send_nsca.cfg $install/etc/nagios/
38 }
40 genpkg_rules() {
41 copy @std
42 DEPENDS="libmcrypt"
43 }