Receipt for package "collectd"
# SliTaz package receipt. PACKAGE="collectd" VERSION="4.7.0" CATEGORY="network" SHORT_DESC="System Stattistics Collection Daemon" MAINTAINER="erjo@slitaz.org" DEPENDS="rrdtool perl" BUILD_DEPENDS="slitaz-toolchain rrdtool-dev" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://collectd.org" WGET_URL="http://collectd.org/files/$TARBALL" 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-interface \ --enable-load \ --enable-cpu \ --enable-disk \ --enable-logfile \ --enable-syslog \ --enable-csv\ --enable-rrdtool \ --with-librrdtool=/usr/include \ --disable-all-plugins \ --sysconfdir=/etc/collectd \ --localstatedir=/var \ $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 \ $fs/usr/share \ $fs/etc/init.d cp -a $_pkg/etc $fs/ cp -a $_pkg/var $fs/ cp -a $_pkg/usr/share/collectd $fs/usr/share cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/lib/*.so* $fs/usr/lib cp -a $_pkg/usr/lib/collectd/*.so $fs/usr/lib/collectd cp -a $_pkg/usr/lib/perl5 $fs/usr/lib # Add init script and fixes install -g root -o root -m 0755 stuff/collectd $fs/etc/init.d chmod 0644 $fs/etc/collectd/* }
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)