wok-current view collectd-apache/receipt @ rev 13196
syslinux: add memtest menu entry
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 05 10:14:57 2012 +0200 (2012-08-05) |
parents | 55d75f0e3533 |
children | 59c4d2ad4e3f |
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 WEB_SITE="http://collectd.org"
11 #CONFIG_FILES="/etc/collectd/collectd.conf"
12 WANTED="collectd"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --localstatedir=/var \
21 --enable-apache \
22 --disable-all-plugins \
23 --sysconfdir=/etc/collectd \
24 $CONFIGURE_ARGS &&
25 make && make DESTDIR=$PWD/_plugins install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/collectd
33 cp -a $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd
34 }