# SliTaz package receipt. PACKAGE="icinga" VERSION="1.2.1" CATEGORY="system-tools" SHORT_DESC="Open Source host, service and network monitoring program" MAINTAINER="erjo@slitaz.org" DEPENDS="" BUILD_DEPENDS="" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.icinga.org" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --prefix=/usr \ --datadir=/usr/share/icinga \ --with-htmurl=/icinga \ --with-lockfile=/var/run/icinga.pid \ --with-icinga-user=nobody \ --with-icinga-group=nogroup \ --with-command-user=nobody \ --with-command-group=www \ --exec-prefix=/usr/bin \ --bindir=/usr/bin \ --sbindir=/usr/lib/icinga/cgi \ --libexecdir=/usr/lib/icinga/plugins \ --datadir=/usr/share/icinga \ --sysconfdir=/etc/icinga \ --localstatedir=/var/log/icinga \ --with-mail=/usr/bin/mailx \ $CONFIGURE_ARGS && make all && \ make DESTDIR=$PWD/_pkg install \ install-commandmode \ install-config \ install-webconf \ install-idoutils \ install-api } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/icinga cp -a $_pkg/usr/bin $fs/usr }