wok-undigest annotate collectd-apache/receipt @ rev 23

Add Gcompris (in one of my wok for too many time...)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 31 18:30:15 2010 +0200 (2010-03-31)
parents
children
rev   line source
erjo@1 1 # SliTaz package receipt.
erjo@1 2
erjo@1 3 PACKAGE="collectd-apache"
erjo@1 4 VERSION="4.7.0"
erjo@1 5 CATEGORY="network"
erjo@1 6 SHORT_DESC="Apache plugin for Collectd"
erjo@1 7 MAINTAINER="erjo@slitaz.org"
erjo@1 8 DEPENDS="libcurl apache"
erjo@1 9 BUILD_DEPENDS="curl-dev"
erjo@1 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
erjo@1 11 WEB_SITE="http://collectd.org"
erjo@1 12 #CONFIG_FILES="/etc/collectd/collectd.conf"
erjo@1 13 WANTED="collectd"
erjo@1 14
erjo@1 15 # Rules to configure and make the package.
erjo@1 16 compile_rules()
erjo@1 17 {
erjo@1 18 cd $src
erjo@1 19 ./configure \
erjo@1 20 --prefix=/usr \
erjo@1 21 --localstatedir=/var \
erjo@1 22 --enable-apache \
erjo@1 23 --disable-all-plugins \
erjo@1 24 --sysconfdir=/etc/collectd \
erjo@1 25 $CONFIGURE_ARGS &&
erjo@1 26 make && make DESTDIR=$PWD/_plugins install
erjo@1 27 }
erjo@1 28
erjo@1 29 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1 30 genpkg_rules()
erjo@1 31 {
erjo@1 32 mkdir -p $fs/usr/lib/collectd
erjo@1 33
erjo@1 34 cp -a $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd
erjo@1 35 }
erjo@1 36