wok-next view collectd-apache/receipt @ rev 15156
Up ebtables (v2.0.10-4)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 15 17:36:26 2013 +0000 (2013-08-15) |
parents | 59c4d2ad4e3f |
children | 223b265f40fd |
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 WEB_SITE="http://collectd.org"
9 #CONFIG_FILES="/etc/collectd/collectd.conf"
10 WANTED="collectd"
12 DEPENDS="libcurl apache"
13 BUILD_DEPENDS="curl-dev"
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=$DESTDIR 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 $install/usr/lib/collectd/*.so* $fs/usr/lib/collectd
35 }