wok-next view nagios-nsca/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | 3765f181a6d5 |
children | 757d032c55c7 |
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 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --localstatedir=/var \
22 --datadir=/usr/share/nagios \
23 --sysconfdir=/etc/nagios \
24 --sbindir=/usr/sbin \
25 --bindir=/usr/sbin \
26 --libexecdir=/usr/lib/nagios \
27 --with-nsca-user=nagios \
28 --with-nsca-group=nagios \
29 --with-nsca-port=5667 \
30 --mandir=/usr/share/man \
31 $CONFIGURE_ARGS &&
32 make all || return 1
34 mkdir -p \
35 $install/usr/sbin/ \
36 $install/etc/nagios/
37 cp -a $src/src/nsca $install/usr/sbin/
38 cp -a $src/src/send_nsca $install/usr/sbin/
40 install -m644 $src/sample-config/nsca.cfg $install/etc/nagios/
41 install -m644 $src/sample-config/send_nsca.cfg $install/etc/nagios/
42 }
44 genpkg_rules() {
45 copy @std
46 DEPENDS="libmcrypt"
47 }