wok-current annotate icinga/receipt @ rev 12157
Up: slitaz-base-files (4.4.1) - Now include httphelper, calc
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 17 14:21:12 2012 +0100 (2012-03-17) |
parents | |
children | de49f29b101e |
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@11223 | 8 DEPENDS="" |
pascal@11223 | 9 BUILD_DEPENDS="" |
pascal@11223 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11223 | 11 WEB_SITE="http://www.icinga.org" |
pascal@11223 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11223 | 13 |
pascal@11223 | 14 # Rules to configure and make the package. |
pascal@11223 | 15 compile_rules() |
pascal@11223 | 16 { |
pascal@11223 | 17 cd $src |
pascal@11223 | 18 ./configure \ |
pascal@11223 | 19 --prefix=/usr \ |
pascal@11223 | 20 --datadir=/usr/share/icinga \ |
pascal@11223 | 21 --with-htmurl=/icinga \ |
pascal@11223 | 22 --with-lockfile=/var/run/icinga.pid \ |
pascal@11223 | 23 --with-icinga-user=nobody \ |
pascal@11223 | 24 --with-icinga-group=nogroup \ |
pascal@11223 | 25 --with-command-user=nobody \ |
pascal@11223 | 26 --with-command-group=www \ |
pascal@11223 | 27 --exec-prefix=/usr/bin \ |
pascal@11223 | 28 --bindir=/usr/bin \ |
pascal@11223 | 29 --sbindir=/usr/lib/icinga/cgi \ |
pascal@11223 | 30 --libexecdir=/usr/lib/icinga/plugins \ |
pascal@11223 | 31 --datadir=/usr/share/icinga \ |
pascal@11223 | 32 --sysconfdir=/etc/icinga \ |
pascal@11223 | 33 --localstatedir=/var/log/icinga \ |
pascal@11223 | 34 --with-mail=/usr/bin/mailx \ |
pascal@11223 | 35 $CONFIGURE_ARGS && |
pascal@11223 | 36 make all && \ |
pascal@11223 | 37 make DESTDIR=$PWD/_pkg install \ |
pascal@11223 | 38 install-commandmode \ |
pascal@11223 | 39 install-config \ |
pascal@11223 | 40 install-webconf \ |
pascal@11223 | 41 install-idoutils \ |
pascal@11223 | 42 install-api |
pascal@11223 | 43 } |
pascal@11223 | 44 |
pascal@11223 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11223 | 46 genpkg_rules() |
pascal@11223 | 47 { |
pascal@11223 | 48 mkdir -p $fs/usr/share/icinga |
pascal@11223 | 49 cp -a $_pkg/usr/bin $fs/usr |
pascal@11223 | 50 } |
pascal@11223 | 51 |