wok diff collectd-bind/receipt @ rev 11765
up mtr (0.82) and added description
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Feb 22 17:33:57 2012 -0800 (2012-02-22) |
parents | |
children | eb8067417980 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/collectd-bind/receipt Wed Feb 22 17:33:57 2012 -0800 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 +