wok-6.x view collectd-apache/receipt @ rev 23403
updated perl-test-simple (1.302007_004 -> 1.302172)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:51:11 2020 +0100 (2020-03-31) |
parents | e4f78af785ff |
children | 471c4bad5183 |
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-apache"
4 VERSION="5.10.0"
5 CATEGORY="network"
6 SHORT_DESC="Apache plugin for Collectd."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://collectd.org"
11 DEPENDS="apache libcurl"
12 BUILD_DEPENDS="curl-dev"
13 WANTED="collectd"
15 #CONFIG_FILES="/etc/collectd/collectd.conf"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --prefix=/usr \
22 --localstatedir=/var \
23 --enable-apache \
24 --disable-all-plugins \
25 --sysconfdir=/etc/collectd \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/collectd
35 cp -a $install/usr/lib/collectd/*.so* $fs/usr/lib/collectd
36 }