wok-next view icinga/receipt @ rev 20449

xcb-proto is obsolete -> xorg-xcb-proto
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 14:08:05 2018 +0200 (2018-02-28)
parents ee5c8b018b62
children 757d032c55c7
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="perl"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --datadir=/usr/share/icinga \
22 --with-htmurl=/icinga \
23 --with-lockfile=/var/run/icinga.pid \
24 --with-icinga-user=nobody \
25 --with-icinga-group=nogroup \
26 --with-command-user=nobody \
27 --with-command-group=www \
28 --exec-prefix=/usr/bin \
29 --bindir=/usr/bin \
30 --sbindir=/usr/lib/icinga/cgi \
31 --libexecdir=/usr/lib/icinga/plugins \
32 --datadir=/usr/share/icinga \
33 --sysconfdir=/etc/icinga \
34 --localstatedir=/var/log/icinga \
35 --with-mail=/usr/bin/mailx \
36 $CONFIGURE_ARGS &&
37 make all && \
38 make DESTDIR=$DESTDIR install \
39 install-commandmode \
40 install-config \
41 install-webconf \
42 install-idoutils \
43 install-api
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/share/icinga
50 cp -a $install/usr/bin $fs/usr
51 }