wok view collectd-apache/receipt @ rev 24430

updated collectd-apache and collectd-dev (5.10.0 -> 5.12.0)
author Hans-G?nter Theisgen
date Sat Feb 12 16:39:44 2022 +0100 (2022-02-12)
parents 466f9b8e7e27
children
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-apache"
4 VERSION="5.12.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 }