wok-current view collectd-apache/receipt @ rev 23974

Up openvpn (2.5.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 28 15:17:00 2020 +0000 (2020-10-28)
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 }