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