wok-6.x view icinga/receipt @ rev 17973

Add matio
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 18 00:08:15 2015 +0200 (2015-04-18)
parents de49f29b101e
children 535c806240cc
line source
1 # SliTaz package receipt.
3 PACKAGE="icinga"
4 VERSION="1.2.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Open Source host, service and network monitoring program"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.icinga.org"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS=""
14 BUILD_DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --datadir=/usr/share/icinga \
23 --with-htmurl=/icinga \
24 --with-lockfile=/var/run/icinga.pid \
25 --with-icinga-user=nobody \
26 --with-icinga-group=nogroup \
27 --with-command-user=nobody \
28 --with-command-group=www \
29 --exec-prefix=/usr/bin \
30 --bindir=/usr/bin \
31 --sbindir=/usr/lib/icinga/cgi \
32 --libexecdir=/usr/lib/icinga/plugins \
33 --datadir=/usr/share/icinga \
34 --sysconfdir=/etc/icinga \
35 --localstatedir=/var/log/icinga \
36 --with-mail=/usr/bin/mailx \
37 $CONFIGURE_ARGS &&
38 make all && \
39 make DESTDIR=$DESTDIR install \
40 install-commandmode \
41 install-config \
42 install-webconf \
43 install-idoutils \
44 install-api
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/share/icinga
51 cp -a $install/usr/bin $fs/usr
52 }