wok diff collectd-apache/receipt @ rev 11791
Up: squidclamav (5.7)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Feb 25 00:57:54 2012 +0100 (2012-02-25) |
parents | |
children | 91ed8fa372e3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/collectd-apache/receipt Sat Feb 25 00:57:54 2012 +0100 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 +