SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "collectd-bind"

# SliTaz package receipt.

PACKAGE="collectd-bind"
SOURCE="collectd"
VERSION="4.7.0"
CATEGORY="network"
SHORT_DESC="Apache plugin for Collectd"
MAINTAINER="erjo@slitaz.org"
DEPENDS="libcurl libxml2"
BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://collectd.org"
#CONFIG_FILES="/etc/collectd/collectd.conf"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    sed -i 's/ipt_error_target/ipt2_error_target/' src/libiptc/libiptc.c
    ./configure \
        --prefix=/usr \
        --localstatedir=/var \
        --enable-bind \
        --disable-all-plugins \
        --sysconfdir=/etc/collectd \
        $CONFIGURE_ARGS &&
    make && make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib/collectd

    cp -a $_pkg/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)