wok-next view collectd-apache/receipt @ rev 16156
Up slitaz-boot-scripts (5.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 15:00:50 2014 +0000 (2014-03-28) |
parents | 408c87fa22ca |
children | 143225e97e0f |
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 LICENSE="GPL2"
9 WEB_SITE="http://collectd.org"
10 #CONFIG_FILES="/etc/collectd/collectd.conf"
11 WANTED="collectd"
13 DEPENDS="libcurl apache"
14 BUILD_DEPENDS="curl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --localstatedir=/var \
23 --enable-apache \
24 --disable-all-plugins \
25 --sysconfdir=/etc/collectd \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/collectd
35 cp -a $install/usr/lib/collectd/*.so* $fs/usr/lib/collectd
36 }