wok diff icinga/receipt @ rev 11257

iron-linux: Cookutils uses wget -O $SRC/$TARBALL so we can change TARBALL to save source as TARBALL. This needs to be done for iron-linux cause other wise it will just find iron-linux.tar.gz and use the old version.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Nov 07 11:21:08 2011 +0000 (2011-11-07)
parents
children de49f29b101e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/icinga/receipt	Mon Nov 07 11:21:08 2011 +0000
     1.3 @@ -0,0 +1,51 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="icinga"
     1.7 +VERSION="1.2.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Open Source host, service and network monitoring program"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS=""
    1.12 +BUILD_DEPENDS=""
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.icinga.org"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		--datadir=/usr/share/icinga \
    1.24 +		--with-htmurl=/icinga \
    1.25 +		--with-lockfile=/var/run/icinga.pid \
    1.26 +		--with-icinga-user=nobody \
    1.27 +		--with-icinga-group=nogroup \
    1.28 +		--with-command-user=nobody \
    1.29 +		--with-command-group=www \
    1.30 +		--exec-prefix=/usr/bin \
    1.31 +		--bindir=/usr/bin \
    1.32 +		--sbindir=/usr/lib/icinga/cgi \
    1.33 +		--libexecdir=/usr/lib/icinga/plugins \
    1.34 +		--datadir=/usr/share/icinga \
    1.35 +		--sysconfdir=/etc/icinga \
    1.36 +		--localstatedir=/var/log/icinga \
    1.37 +		--with-mail=/usr/bin/mailx \
    1.38 +		$CONFIGURE_ARGS &&
    1.39 +	make all && \
    1.40 +	make DESTDIR=$PWD/_pkg install \
    1.41 +	    install-commandmode \
    1.42 +		install-config \
    1.43 +		install-webconf \
    1.44 +		install-idoutils \
    1.45 +		install-api
    1.46 +}
    1.47 +
    1.48 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.49 +genpkg_rules()
    1.50 +{
    1.51 +	mkdir -p $fs/usr/share/icinga
    1.52 +	cp -a $_pkg/usr/bin $fs/usr
    1.53 +}
    1.54 +