wok diff collectd-bind/receipt @ rev 15447

Up: edbus (1.7.9)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 05 20:57:58 2013 +0100 (2013-11-05)
parents
children eb8067417980
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/collectd-bind/receipt	Tue Nov 05 20:57:58 2013 +0100
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="collectd-bind"
     1.7 +SOURCE="collectd"
     1.8 +VERSION="4.7.0"
     1.9 +CATEGORY="network"
    1.10 +SHORT_DESC="Apache plugin for Collectd"
    1.11 +MAINTAINER="erjo@slitaz.org"
    1.12 +DEPENDS="libcurl libxml2"
    1.13 +BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
    1.14 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.15 +WEB_SITE="http://collectd.org"
    1.16 +#CONFIG_FILES="/etc/collectd/collectd.conf"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src
    1.22 +	sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
    1.23 +	./configure \
    1.24 +		--prefix=/usr \
    1.25 +		--localstatedir=/var \
    1.26 +		--enable-bind \
    1.27 +		--disable-all-plugins \
    1.28 +		--sysconfdir=/etc/collectd \
    1.29 +		$CONFIGURE_ARGS &&
    1.30 +	make && make DESTDIR=$PWD/_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib/collectd
    1.37 +
    1.38 +	cp -a $_pkg/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
    1.39 +}
    1.40 +