wok-stable diff collectd-apache/receipt @ rev 12296
dvdauthor: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 28 13:16:55 2012 +0200 (2012-05-28) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/collectd-apache/receipt Mon May 28 13:16:55 2012 +0200 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="collectd-apache" 1.7 +VERSION="4.7.0" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Apache plugin for Collectd" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="libcurl apache" 1.12 +BUILD_DEPENDS="curl-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WEB_SITE="http://collectd.org" 1.15 +#CONFIG_FILES="/etc/collectd/collectd.conf" 1.16 +WANTED="collectd" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure \ 1.23 + --prefix=/usr \ 1.24 + --localstatedir=/var \ 1.25 + --enable-apache \ 1.26 + --disable-all-plugins \ 1.27 + --sysconfdir=/etc/collectd \ 1.28 + $CONFIGURE_ARGS && 1.29 + make && make DESTDIR=$PWD/_plugins install 1.30 +} 1.31 + 1.32 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 +genpkg_rules() 1.34 +{ 1.35 + mkdir -p $fs/usr/lib/collectd 1.36 + 1.37 + cp -a $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd 1.38 +} 1.39 +