wok view collectd-apache/receipt @ rev 16314

ARM: add tar and some fixes
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 14:14:10 2014 +0200 (2014-04-09)
parents 408c87fa22ca
children e4f78af785ff
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 }