wok-next annotate 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
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@20334 14 BUILD_DEPENDS="perl"
pascal@15600 15
pascal@11223 16 # Rules to configure and make the package.
pascal@11223 17 compile_rules()
pascal@11223 18 {
pascal@11223 19 ./configure \
pascal@11223 20 --prefix=/usr \
pascal@11223 21 --datadir=/usr/share/icinga \
pascal@11223 22 --with-htmurl=/icinga \
pascal@11223 23 --with-lockfile=/var/run/icinga.pid \
pascal@11223 24 --with-icinga-user=nobody \
pascal@11223 25 --with-icinga-group=nogroup \
pascal@11223 26 --with-command-user=nobody \
pascal@11223 27 --with-command-group=www \
pascal@11223 28 --exec-prefix=/usr/bin \
pascal@11223 29 --bindir=/usr/bin \
pascal@11223 30 --sbindir=/usr/lib/icinga/cgi \
pascal@11223 31 --libexecdir=/usr/lib/icinga/plugins \
pascal@11223 32 --datadir=/usr/share/icinga \
pascal@11223 33 --sysconfdir=/etc/icinga \
pascal@11223 34 --localstatedir=/var/log/icinga \
pascal@11223 35 --with-mail=/usr/bin/mailx \
pascal@11223 36 $CONFIGURE_ARGS &&
pascal@11223 37 make all && \
pascal@15602 38 make DESTDIR=$DESTDIR install \
pascal@11223 39 install-commandmode \
pascal@11223 40 install-config \
pascal@11223 41 install-webconf \
pascal@11223 42 install-idoutils \
pascal@11223 43 install-api
pascal@11223 44 }
pascal@11223 45
pascal@11223 46 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11223 47 genpkg_rules()
pascal@11223 48 {
pascal@11223 49 mkdir -p $fs/usr/share/icinga
pascal@15600 50 cp -a $install/usr/bin $fs/usr
pascal@11223 51 }