wok-next diff icinga/receipt @ rev 20908

bzip2: update home page and source URL (thanks shann); domain bzip.org is suspended now...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 12 04:53:45 2018 +0300 (2018-08-12)
parents 27bfe81dc6bd
children d5aab818505e
line diff
     1.1 --- a/icinga/receipt	Thu Nov 16 16:28:30 2017 +0100
     1.2 +++ b/icinga/receipt	Sun Aug 12 04:53:45 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="icinga"
     1.8  VERSION="1.2.1"
     1.9 @@ -6,19 +6,15 @@
    1.10  SHORT_DESC="Open Source host, service and network monitoring program"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 +WEB_SITE="http://www.icinga.org"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="http://www.icinga.org"
    1.17  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -DEPENDS=""
    1.20  BUILD_DEPENDS="perl"
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 +compile_rules() {
    1.26  	./configure \
    1.27 -		--prefix=/usr \
    1.28 -		--datadir=/usr/share/icinga \
    1.29  		--with-htmurl=/icinga \
    1.30  		--with-lockfile=/var/run/icinga.pid \
    1.31  		--with-icinga-user=nobody \
    1.32 @@ -35,17 +31,17 @@
    1.33  		--with-mail=/usr/bin/mailx \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make all && \
    1.36 -	make DESTDIR=$DESTDIR install \
    1.37 -	    install-commandmode \
    1.38 +	make DESTDIR=$DESTDIR \
    1.39 +		install \
    1.40 +		install-commandmode \
    1.41  		install-config \
    1.42  		install-webconf \
    1.43  		install-idoutils \
    1.44  		install-api
    1.45 +
    1.46 +	# TODO: check files permissions
    1.47  }
    1.48  
    1.49 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.50 -genpkg_rules()
    1.51 -{
    1.52 -	mkdir -p $fs/usr/share/icinga
    1.53 -	cp -a $install/usr/bin $fs/usr
    1.54 +genpkg_rules() {
    1.55 +	copy @std
    1.56  }