wok-stable annotate collectd-bind/receipt @ rev 12289

qt4: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 27 21:24:14 2012 +0200 (2012-05-27)
parents
children
rev   line source
pascal@11218 1 # SliTaz package receipt.
pascal@11218 2
pascal@11218 3 PACKAGE="collectd-bind"
pascal@11218 4 SOURCE="collectd"
pascal@11218 5 VERSION="4.7.0"
pascal@11218 6 CATEGORY="network"
pascal@11218 7 SHORT_DESC="Apache plugin for Collectd"
pascal@11218 8 MAINTAINER="erjo@slitaz.org"
pascal@11218 9 DEPENDS="libcurl libxml2"
pascal@11218 10 BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
pascal@11218 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11218 12 WEB_SITE="http://collectd.org"
pascal@11218 13 #CONFIG_FILES="/etc/collectd/collectd.conf"
pascal@11218 14
pascal@11218 15 # Rules to configure and make the package.
pascal@11218 16 compile_rules()
pascal@11218 17 {
pascal@11218 18 cd $src
pascal@11218 19 sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
pascal@11218 20 ./configure \
pascal@11218 21 --prefix=/usr \
pascal@11218 22 --localstatedir=/var \
pascal@11218 23 --enable-bind \
pascal@11218 24 --disable-all-plugins \
pascal@11218 25 --sysconfdir=/etc/collectd \
pascal@11218 26 $CONFIGURE_ARGS &&
pascal@11218 27 make && make DESTDIR=$PWD/_pkg install
pascal@11218 28 }
pascal@11218 29
pascal@11218 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11218 31 genpkg_rules()
pascal@11218 32 {
pascal@11218 33 mkdir -p $fs/usr/lib/collectd
pascal@11218 34
pascal@11218 35 cp -a $_pkg/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
pascal@11218 36 }
pascal@11218 37