wok-next diff mk-livestatus/receipt @ rev 21680

updated gf2x (1.2 -> 1.3.0)
author Hans-G?nter Theisgen
date Mon Jun 29 14:15:30 2020 +0100 (2020-06-29)
parents 306a4f258013
children
line diff
     1.1 --- a/mk-livestatus/receipt	Thu Aug 23 06:46:33 2018 +0300
     1.2 +++ b/mk-livestatus/receipt	Mon Jun 29 14:15:30 2020 +0100
     1.3 @@ -1,35 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="mk-livestatus"
     1.8  VERSION="1.2.2"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Nagios status broker module"
    1.11 -MAINTAINER="erjo@slitaz.org"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://mathias-kettner.de/checkmk_livestatus.html"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://mathias-kettner.de/checkmk_livestatus.html"
    1.18  WGET_URL="https://mathias-kettner.de/download/$TARBALL"
    1.19  
    1.20 -DEPENDS="nagios"
    1.21  BUILD_DEPENDS="nagios-dev"
    1.22  
    1.23 -# Rules to configure and make the package.
    1.24 -compile_rules()
    1.25 -{
    1.26 +compile_rules() {
    1.27  	./configure &&
    1.28 -	make && make -j1 install
    1.29 +	make &&
    1.30 +	make -j1 install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 -	mkdir -p $fs/usr
    1.37 -	cp -a $install/usr/bin $fs/usr
    1.38 -	cp -a $install/usr/lib $fs/usr
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41 +	DEPENDS="nagios"
    1.42  }
    1.43  
    1.44 -post_install()
    1.45 -{
    1.46 +post_install() {
    1.47  	# Modify nagios config
    1.48  	cat >> "$1/etc/nagios/nagios.cfg" <<EOT
    1.49  broker_module=/usr/lib/mk-livestatus/livestatus.o /var/lib/nagios/rw/live