wok-6.x view collectd-apache/receipt @ rev 14628
Up: subversion to 1.7.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Jun 01 20:48:23 2013 +0000 (2013-06-01) |
parents | 91ed8fa372e3 |
children | 408c87fa22ca |
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 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=$DESTDIR 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 }