wok-next view collectd-bind/receipt @ rev 16137
ARM: try to cross compile GTK on Tank
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 26 00:28:42 2014 +0100 (2014-03-26) |
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 }