wok-current view icinga/receipt @ rev 12251
Up: tazpanel (1.5.3)
| author | Christophe Lincoln <pankso@slitaz.org> | 
|---|---|
| date | Tue Apr 10 00:01:17 2012 +0200 (2012-04-10) | 
| parents | |
| children | de49f29b101e | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="icinga"
     4 VERSION="1.2.1"
     5 CATEGORY="system-tools"
     6 SHORT_DESC="Open Source host, service and network monitoring program"
     7 MAINTAINER="erjo@slitaz.org"
     8 DEPENDS=""
     9 BUILD_DEPENDS=""
    10 TARBALL="$PACKAGE-$VERSION.tar.gz"
    11 WEB_SITE="http://www.icinga.org"
    12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    14 # Rules to configure and make the package.
    15 compile_rules()
    16 {
    17 	cd $src
    18 	./configure \
    19 		--prefix=/usr \
    20 		--datadir=/usr/share/icinga \
    21 		--with-htmurl=/icinga \
    22 		--with-lockfile=/var/run/icinga.pid \
    23 		--with-icinga-user=nobody \
    24 		--with-icinga-group=nogroup \
    25 		--with-command-user=nobody \
    26 		--with-command-group=www \
    27 		--exec-prefix=/usr/bin \
    28 		--bindir=/usr/bin \
    29 		--sbindir=/usr/lib/icinga/cgi \
    30 		--libexecdir=/usr/lib/icinga/plugins \
    31 		--datadir=/usr/share/icinga \
    32 		--sysconfdir=/etc/icinga \
    33 		--localstatedir=/var/log/icinga \
    34 		--with-mail=/usr/bin/mailx \
    35 		$CONFIGURE_ARGS &&
    36 	make all && \
    37 	make DESTDIR=$PWD/_pkg install \
    38 	    install-commandmode \
    39 		install-config \
    40 		install-webconf \
    41 		install-idoutils \
    42 		install-api
    43 }
    45 # Rules to gen a SliTaz package suitable for Tazpkg.
    46 genpkg_rules()
    47 {
    48 	mkdir -p $fs/usr/share/icinga
    49 	cp -a $_pkg/usr/bin $fs/usr
    50 }