wok-6.x rev 13207

Up collectd (5.1.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 06 15:08:32 2012 +0200 (2012-08-06)
parents 1716dac173ae
children 03afa2371fe5
files collectd-apache/receipt collectd-dev/receipt collectd/receipt
line diff
     1.1 --- a/collectd-apache/receipt	Mon Aug 06 14:55:22 2012 +0200
     1.2 +++ b/collectd-apache/receipt	Mon Aug 06 15:08:32 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="collectd-apache"
     1.7 -VERSION="4.7.0"
     1.8 +VERSION="5.1.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Apache plugin for Collectd"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -22,7 +22,7 @@
    1.13  		--disable-all-plugins \
    1.14  		--sysconfdir=/etc/collectd \
    1.15  		$CONFIGURE_ARGS &&
    1.16 -	make && make DESTDIR=$PWD/_plugins install
    1.17 +	make && make DESTDIR=$DESTDIR install
    1.18  }
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
     2.1 --- a/collectd-dev/receipt	Mon Aug 06 14:55:22 2012 +0200
     2.2 +++ b/collectd-dev/receipt	Mon Aug 06 15:08:32 2012 +0200
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="collectd-dev"
     2.7 -VERSION="4.7.0"
     2.8 +VERSION="5.1.0"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="System Stattistics Collection Daemon"
    2.11  MAINTAINER="erjo@slitaz.org"
     3.1 --- a/collectd/receipt	Mon Aug 06 14:55:22 2012 +0200
     3.2 +++ b/collectd/receipt	Mon Aug 06 15:08:32 2012 +0200
     3.3 @@ -1,22 +1,22 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="collectd"
     3.7 -VERSION="4.7.0"
     3.8 +VERSION="5.1.0"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="System Stattistics Collection Daemon"
    3.11  MAINTAINER="erjo@slitaz.org"
    3.12 -DEPENDS="rrdtool perl"
    3.13 -BUILD_DEPENDS="slitaz-toolchain rrdtool-dev"
    3.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.15  WEB_SITE="http://collectd.org"
    3.16  WGET_URL="http://collectd.org/files/$TARBALL"
    3.17  CONFIG_FILES="/etc/collectd/collectd.conf"
    3.18  
    3.19 +DEPENDS="rrdtool perl"
    3.20 +BUILD_DEPENDS="slitaz-toolchain rrdtool-dev"
    3.21 +
    3.22  # Rules to configure and make the package.
    3.23  compile_rules()
    3.24  {
    3.25  	cd $src
    3.26 -	sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
    3.27  	./configure \
    3.28  		--prefix=/usr \
    3.29  		--localstatedir=/var \
    3.30 @@ -33,7 +33,7 @@
    3.31  		--sysconfdir=/etc/collectd \
    3.32  		--localstatedir=/var \
    3.33  		$CONFIGURE_ARGS &&
    3.34 -	make && make DESTDIR=$PWD/_pkg install
    3.35 +	make && make DESTDIR=$DESTDIR install
    3.36  }
    3.37  
    3.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    3.39 @@ -55,7 +55,7 @@
    3.40  	cp -a $_pkg/usr/lib/perl5 $fs/usr/lib
    3.41  	
    3.42  	# Add init script and fixes
    3.43 -	install -g root -o root -m 0755 stuff/collectd $fs/etc/init.d
    3.44 +	install -g root -o root -m 0755 $stuff/collectd $fs/etc/init.d
    3.45  	chmod 0644 $fs/etc/collectd/*
    3.46  }
    3.47