wok-current diff collectd/receipt @ rev 23329

updated perl-file-desktopentry (0.04 -> 0.22)
author Hans-G?nter Theisgen
date Mon Mar 30 17:44:58 2020 +0100 (2020-03-30)
parents e4f78af785ff
children fffdfda5962b
line diff
     1.1 --- a/collectd/receipt	Fri Feb 15 15:54:04 2019 +0100
     1.2 +++ b/collectd/receipt	Mon Mar 30 17:44:58 2020 +0100
     1.3 @@ -1,38 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="collectd"
     1.7 -VERSION="5.8.1"
     1.8 +VERSION="5.10.0"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="System Stattistics Collection Daemon"
    1.11 +SHORT_DESC="System Statistics Collection Daemon."
    1.12  MAINTAINER="erjo@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 -WEB_SITE="http://collectd.org"
    1.15 +WEB_SITE="https://collectd.org"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.18  WGET_URL="http://collectd.org/files/$TARBALL"
    1.19 +
    1.20 +DEPENDS="perl rrdtool"
    1.21 +BUILD_DEPENDS="rrdtool-dev slitaz-toolchain"
    1.22 +
    1.23  CONFIG_FILES="/etc/collectd/collectd.conf"
    1.24  
    1.25 -DEPENDS="rrdtool perl"
    1.26 -BUILD_DEPENDS="slitaz-toolchain rrdtool-dev"
    1.27 -
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	./configure \
    1.32 -		--prefix=/usr \
    1.33 -		--localstatedir=/var \
    1.34 -		--enable-interface \
    1.35 -		--enable-load \
    1.36 -		--enable-cpu \
    1.37 -		--enable-disk \
    1.38 -		--enable-logfile \
    1.39 -		--enable-syslog \
    1.40 -		--enable-csv\
    1.41 -		--enable-rrdtool \
    1.42 -		--with-librrdtool=/usr/include \
    1.43 -		--disable-all-plugins \
    1.44 -		--sysconfdir=/etc/collectd \
    1.45 -		--localstatedir=/var \
    1.46 +	./configure				\
    1.47 +		--prefix=/usr			\
    1.48 +		--localstatedir=/var		\
    1.49 +		--enable-interface		\
    1.50 +		--enable-load			\
    1.51 +		--enable-cpu			\
    1.52 +		--enable-disk			\
    1.53 +		--enable-logfile		\
    1.54 +		--enable-syslog			\
    1.55 +		--enable-csv			\
    1.56 +		--enable-rrdtool		\
    1.57 +		--with-librrdtool=/usr/include	\
    1.58 +		--disable-all-plugins		\
    1.59 +		--sysconfdir=/etc/collectd	\
    1.60 +		--localstatedir=/var		\
    1.61  		$CONFIGURE_ARGS &&
    1.62  	make &&
    1.63  	make DESTDIR=$DESTDIR install
    1.64 @@ -42,20 +43,21 @@
    1.65  genpkg_rules()
    1.66  {
    1.67  
    1.68 -	mkdir -p $fs/usr/lib/collectd \
    1.69 -		$fs/usr/share \
    1.70 -		$fs/etc/init.d
    1.71 -	
    1.72 -	cp -a $install/etc $fs/
    1.73 -	cp -a $install/var $fs/
    1.74 -	cp -a $install/usr/share/collectd $fs/usr/share
    1.75 -	cp -a $install/usr/bin $fs/usr
    1.76 -	cp -a $install/usr/sbin $fs/usr
    1.77 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.78 -	cp -a $install/usr/lib/collectd/*.so $fs/usr/lib/collectd
    1.79 -	cp -a $install/usr/lib/perl5 $fs/usr/lib
    1.80 -	
    1.81 +	mkdir -p $fs/usr/lib/collectd
    1.82 +	mkdir -p $fs/usr/share
    1.83 +	mkdir -p $fs/etc/init.d
    1.84 +
    1.85 +	cp -a $install/etc			$fs
    1.86 +	cp -a $install/var			$fs
    1.87 +	cp -a $install/usr/share/collectd	$fs/usr/share
    1.88 +	cp -a $install/usr/bin			$fs/usr
    1.89 +	cp -a $install/usr/sbin			$fs/usr
    1.90 +	cp -a $install/usr/lib/*.so*		$fs/usr/lib
    1.91 +	cp -a $install/usr/lib/collectd/*.so	$fs/usr/lib/collectd
    1.92 +	cp -a $install/usr/lib/perl5		$fs/usr/lib
    1.93 +
    1.94  	# Add init script and fixes
    1.95 -	install -g root -o root -m 0755 $stuff/collectd $fs/etc/init.d
    1.96 -	chmod 0644 $fs/etc/collectd/*
    1.97 +	install -g root -o root -m 0755 $stuff/collectd \
    1.98 +						$fs/etc/init.d
    1.99 +	chmod 0644				$fs/etc/collectd/*
   1.100  }