wok view collectd-apache/receipt @ rev 13429

partclone: add btrfs & hfsplus support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 04 11:53:21 2012 +0200 (2012-10-04)
parents 91ed8fa372e3
children 408c87fa22ca
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-apache"
4 VERSION="5.1.0"
5 CATEGORY="network"
6 SHORT_DESC="Apache plugin for Collectd"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libcurl apache"
9 BUILD_DEPENDS="curl-dev"
10 WEB_SITE="http://collectd.org"
11 #CONFIG_FILES="/etc/collectd/collectd.conf"
12 WANTED="collectd"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --localstatedir=/var \
21 --enable-apache \
22 --disable-all-plugins \
23 --sysconfdir=/etc/collectd \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/collectd
33 cp -a $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd
34 }