wok-next view collectd-bind/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | eb8067417980 |
children | 757d032c55c7 |
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 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=$DESTDIR 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 $install/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
36 }