wok-next view collectd-bind/receipt @ rev 19233
Up palemoon (26.3.1), tazinst (78)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Jun 25 13:42:17 2016 +0300 (2016-06-25) |
parents | 55d75f0e3533 |
children | 9600efd55009 |
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 }