wok-current diff monitorix/receipt @ rev 21468

updated monitorix (3.2.1 -> 3.11.0)
author Hans-G?nter Theisgen
date Tue Apr 30 15:42:25 2019 +0100 (2019-04-30)
parents a78610b2eb47
children 442b472ff67d
line diff
     1.1 --- a/monitorix/receipt	Mon Jan 21 12:26:11 2019 +0100
     1.2 +++ b/monitorix/receipt	Tue Apr 30 15:42:25 2019 +0100
     1.3 @@ -1,38 +1,37 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="monitorix"
     1.7 -VERSION="3.2.1"
     1.8 +VERSION="3.11.0"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="A lightweight system monitoring tool."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="https://www.monitorix.org/"
    1.14 +
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16  WGET_URL="${WEB_SITE}$TARBALL"
    1.17 +
    1.18  SUGGESTED="iptables logrotate"
    1.19 -
    1.20 -DEPENDS="rrdtool-perl perl-libwww perl-dbi perl-xml-simple perl-cgi \
    1.21 -perl-mailtools perl-mime-lite perl-config-general perl-http-server-simple"
    1.22 +DEPENDS="perl-cgi perl-config-general perl-dbi perl-http-server-simple \
    1.23 +	perl-libwww perl-mailtools perl-mime-lite perl-xml-simple rrdtool-perl"
    1.24  BUILD_DEPENDS=""
    1.25  
    1.26 -# Rules to configure and make the package.
    1.27 -compile_rules()
    1.28 -{
    1.29 -	cd $src
    1.30 -} 
    1.31 -
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.33  genpkg_rules()
    1.34  {
    1.35 -	mkdir -p $fs/usr/lib $fs/usr/bin $fs/etc/logrotate.d 
    1.36 +	mkdir -p $fs/usr/lib
    1.37 +	mkdir -p $fs/usr/bin
    1.38 +	mkdir -p $fs/etc/logrotate.d 
    1.39  	mkdir -p $fs/usr/share/monitorix/cgi
    1.40 -	cp -a $src/monitorix.conf $fs/etc
    1.41 +
    1.42 +	cp -a $src/monitorix.conf	$fs/etc
    1.43  	sed -i 's|/var/lib/monitorix|/usr/lib/monitorix|' $fs/etc/monitorix.conf
    1.44  	sed -i 's|group = nobody|group = nogroup|' $fs/etc/monitorix.conf
    1.45  	cp -a $src/docs/monitorix.logrotate $fs/etc/logrotate.d/monitorix
    1.46 -	cp -a $src/monitorix $fs/usr/bin
    1.47 -	cp -a $src/lib $fs/usr/lib/monitorix
    1.48 -	cp -a $src/monitorix.cgi $src/*.png $src/reports $fs/usr/share/monitorix
    1.49 +	cp -a $src/monitorix		$fs/usr/bin
    1.50 +	cp -a $src/lib			$fs/usr/lib/monitorix
    1.51 +	cp -a $src/monitorix.cgi $src/*.png \
    1.52 +		$src/reports $fs/usr/share/monitorix
    1.53  }
    1.54  
    1.55  post_install()