wok-next view collectd-apache/receipt @ rev 12203
pm-utils: fix grep params in pm/functions.in again
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Mon Mar 26 20:54:35 2012 +0200 (2012-03-26) |
parents | |
children | 91ed8fa372e3 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://collectd.org"
12 #CONFIG_FILES="/etc/collectd/collectd.conf"
13 WANTED="collectd"
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=$PWD/_plugins 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 $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd
35 }