wok-6.x annotate collectd-bind/receipt @ rev 16505

Add dhid dyn IP daemon + add to ARM python-psutil and fix htop icon in /usr/share
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 24 14:08:25 2014 +0200 (2014-04-24)
parents 55d75f0e3533
children 826c1bab582b
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@15579 9 LICENSE="GPL2"
pascal@11218 10 DEPENDS="libcurl libxml2"
pascal@11218 11 BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
pascal@11218 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@11218 13 WEB_SITE="http://collectd.org"
pascal@11218 14 #CONFIG_FILES="/etc/collectd/collectd.conf"
pascal@11218 15
pascal@11218 16 # Rules to configure and make the package.
pascal@11218 17 compile_rules()
pascal@11218 18 {
pascal@11218 19 cd $src
pascal@11218 20 sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
pascal@11218 21 ./configure \
pascal@11218 22 --prefix=/usr \
pascal@11218 23 --localstatedir=/var \
pascal@11218 24 --enable-bind \
pascal@11218 25 --disable-all-plugins \
pascal@11218 26 --sysconfdir=/etc/collectd \
pascal@11218 27 $CONFIGURE_ARGS &&
pascal@15579 28 make && make DESTDIR=$DESTDIR install
pascal@11218 29 }
pascal@11218 30
pascal@11218 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11218 32 genpkg_rules()
pascal@11218 33 {
pascal@11218 34 mkdir -p $fs/usr/lib/collectd
pascal@11218 35
pascal@15579 36 cp -a $install/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
pascal@11218 37 }
pascal@11218 38