wok-6.x view collectd-bind/receipt @ rev 13798
Fix: libdrm version (2.4.34->2.4.40)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Jan 06 04:25:57 2013 +0300 (2013-01-06) |
parents | |
children | eb8067417980 |
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 DEPENDS="libcurl libxml2"
10 BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://collectd.org"
13 #CONFIG_FILES="/etc/collectd/collectd.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
20 ./configure \
21 --prefix=/usr \
22 --localstatedir=/var \
23 --enable-bind \
24 --disable-all-plugins \
25 --sysconfdir=/etc/collectd \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/collectd
35 cp -a $_pkg/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
36 }