wok-6.x view collectd-apache/receipt @ rev 11453
Up: ntop (4.1.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Dec 17 11:15:42 2011 +0100 (2011-12-17) |
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 }