wok-4.x view collectd-apache/receipt @ rev 11797
ppp: build rp-pppoe.so
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 25 10:42:24 2012 +0100 (2012-02-25) |
parents | |
children |
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 }