wok annotate icinga/receipt @ rev 17890

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