wok-next annotate icinga/receipt @ rev 20607
perdition: up 2.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 15:57:59 2018 +0300 (2018-04-19) |
parents | 27bfe81dc6bd |
children | d5aab818505e |
rev | line source |
---|---|
al@20534 | 1 # SliTaz package receipt v2. |
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" |
al@20534 | 9 WEB_SITE="http://www.icinga.org" |
al@20534 | 10 |
pascal@11223 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11223 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11223 | 13 |
pascal@20334 | 14 BUILD_DEPENDS="perl" |
pascal@15600 | 15 |
al@20534 | 16 compile_rules() { |
pascal@11223 | 17 ./configure \ |
pascal@11223 | 18 --with-htmurl=/icinga \ |
pascal@11223 | 19 --with-lockfile=/var/run/icinga.pid \ |
pascal@11223 | 20 --with-icinga-user=nobody \ |
pascal@11223 | 21 --with-icinga-group=nogroup \ |
pascal@11223 | 22 --with-command-user=nobody \ |
pascal@11223 | 23 --with-command-group=www \ |
pascal@11223 | 24 --exec-prefix=/usr/bin \ |
pascal@11223 | 25 --bindir=/usr/bin \ |
pascal@11223 | 26 --sbindir=/usr/lib/icinga/cgi \ |
pascal@11223 | 27 --libexecdir=/usr/lib/icinga/plugins \ |
pascal@11223 | 28 --datadir=/usr/share/icinga \ |
pascal@11223 | 29 --sysconfdir=/etc/icinga \ |
pascal@11223 | 30 --localstatedir=/var/log/icinga \ |
pascal@11223 | 31 --with-mail=/usr/bin/mailx \ |
pascal@11223 | 32 $CONFIGURE_ARGS && |
pascal@11223 | 33 make all && \ |
al@20534 | 34 make DESTDIR=$DESTDIR \ |
al@20534 | 35 install \ |
al@20534 | 36 install-commandmode \ |
pascal@11223 | 37 install-config \ |
pascal@11223 | 38 install-webconf \ |
pascal@11223 | 39 install-idoutils \ |
pascal@11223 | 40 install-api |
al@20534 | 41 |
al@20534 | 42 # TODO: check files permissions |
pascal@11223 | 43 } |
pascal@11223 | 44 |
al@20534 | 45 genpkg_rules() { |
al@20534 | 46 copy @std |
pascal@11223 | 47 } |