wok diff collectd-bind/receipt @ rev 21229

Up collectd-bind (5.8.1) again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 10 20:14:49 2019 +0200 (2019-04-10)
parents 826c1bab582b
children 2a0479881723
line diff
     1.1 --- a/collectd-bind/receipt	Wed Apr 10 13:37:55 2019 +0200
     1.2 +++ b/collectd-bind/receipt	Wed Apr 10 20:14:49 2019 +0200
     1.3 @@ -7,17 +7,18 @@
     1.4  SHORT_DESC="Apache plugin for Collectd"
     1.5  MAINTAINER="erjo@slitaz.org"
     1.6  LICENSE="GPL2"
     1.7 +WEB_SITE="http://collectd.org"
     1.8 +
     1.9 +TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.10 +WGET_URL="http://collectd.org/files/$TARBALL"
    1.11 +#CONFIG_FILES="/etc/collectd/collectd.conf"
    1.12 +
    1.13  DEPENDS="libcurl libxml2"
    1.14  BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
    1.15 -TARBALL="$SOURCE-$VERSION.tar.bz2"
    1.16 -WGET_URL="http://collectd.org/files/$TARBALL"
    1.17 -WEB_SITE="http://collectd.org"
    1.18 -#CONFIG_FILES="/etc/collectd/collectd.conf"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21  compile_rules()
    1.22  {
    1.23 -	sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
    1.24  	./configure \
    1.25  		--prefix=/usr \
    1.26  		--localstatedir=/var \
    1.27 @@ -25,13 +26,13 @@
    1.28  		--disable-all-plugins \
    1.29  		--sysconfdir=/etc/collectd \
    1.30  		$CONFIGURE_ARGS &&
    1.31 -	make && make DESTDIR=$DESTDIR install
    1.32 +	make &&
    1.33 +	make DESTDIR=$DESTDIR install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39  	mkdir -p $fs/usr/lib/collectd
    1.40 -
    1.41  	cp -a $install/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
    1.42  }