wok diff collectd/receipt @ 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 55d75f0e3533
children 408c87fa22ca
line diff
     1.1 --- a/collectd/receipt	Thu Nov 03 22:14:55 2011 +0100
     1.2 +++ b/collectd/receipt	Mon Aug 06 15:08:32 2012 +0200
     1.3 @@ -1,22 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="collectd"
     1.7 -VERSION="4.7.0"
     1.8 +VERSION="5.1.0"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="System Stattistics Collection Daemon"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 -DEPENDS="rrdtool perl"
    1.13 -BUILD_DEPENDS="slitaz-toolchain rrdtool-dev"
    1.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15  WEB_SITE="http://collectd.org"
    1.16  WGET_URL="http://collectd.org/files/$TARBALL"
    1.17  CONFIG_FILES="/etc/collectd/collectd.conf"
    1.18  
    1.19 +DEPENDS="rrdtool perl"
    1.20 +BUILD_DEPENDS="slitaz-toolchain rrdtool-dev"
    1.21 +
    1.22  # Rules to configure and make the package.
    1.23  compile_rules()
    1.24  {
    1.25  	cd $src
    1.26 -	sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
    1.27  	./configure \
    1.28  		--prefix=/usr \
    1.29  		--localstatedir=/var \
    1.30 @@ -33,7 +33,7 @@
    1.31  		--sysconfdir=/etc/collectd \
    1.32  		--localstatedir=/var \
    1.33  		$CONFIGURE_ARGS &&
    1.34 -	make && make DESTDIR=$PWD/_pkg install
    1.35 +	make && make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 @@ -55,7 +55,7 @@
    1.40  	cp -a $_pkg/usr/lib/perl5 $fs/usr/lib
    1.41  	
    1.42  	# Add init script and fixes
    1.43 -	install -g root -o root -m 0755 stuff/collectd $fs/etc/init.d
    1.44 +	install -g root -o root -m 0755 $stuff/collectd $fs/etc/init.d
    1.45  	chmod 0644 $fs/etc/collectd/*
    1.46  }
    1.47