wok-current diff nagisk/receipt @ rev 22437

john: fix link, add to right place
author Erkan Yilmaz <erkan@slitaz.org>
date Sun Dec 22 16:03:18 2019 +0000 (2019-12-22)
parents 9e01bc6321ea
children b569b85b0fb9
line diff
     1.1 --- a/nagisk/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.2 +++ b/nagisk/receipt	Sun Dec 22 16:03:18 2019 +0000
     1.3 @@ -1,24 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="nagisk"
     1.7 -VERSION="1.2.5"
     1.8 +VERSION="1.2.9"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Simple tool to monitor Asterisk from a Nagios server."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 +WEB_SITE="https://github.com/nicolargo/nagisk/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WEB_SITE="https://github.com/nicolargo/nagisk"
    1.17 -WGET_URL="https://codeload.github.com/nicolargo/nagisk/tar.gz/v$VERSION"
    1.18 +WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz"
    1.19  
    1.20  DEPENDS="nagios-nrpe perl sudo"
    1.21 -BUILD_DEPENDS="wget"
    1.22 +BUILD_DEPENDS=""
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27  	mkdir -p $fs/usr/share/nagios/libexec
    1.28 -	cp -a $src/nagisk.pl $fs/usr/share/nagios/libexec
    1.29 -	sed -i 's/^elsif/} &/' $fs/usr/share/nagios/libexec/nagisk.pl
    1.30 +	cp -a $src/nagisk.pl	$fs/usr/share/nagios/libexec
    1.31 +	sed -i 's/^elsif/} &/'	$fs/usr/share/nagios/libexec/nagisk.pl
    1.32  }
    1.33  
    1.34  # Pre and post install commands for Tazpkg.