wok view collectd-apache/receipt @ rev 11914

Up: tazpanel (1.4) - Improved dropdown menu, add easy wifi configuration and more :-)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Feb 29 22:46:54 2012 +0100 (2012-02-29)
parents
children 91ed8fa372e3
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-apache"
4 VERSION="4.7.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 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://collectd.org"
12 #CONFIG_FILES="/etc/collectd/collectd.conf"
13 WANTED="collectd"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --localstatedir=/var \
22 --enable-apache \
23 --disable-all-plugins \
24 --sysconfdir=/etc/collectd \
25 $CONFIGURE_ARGS &&
26 make && make DESTDIR=$PWD/_plugins install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/collectd
34 cp -a $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd
35 }