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

freedoom: fix link
author Erkan Yilmaz <erkan@slitaz.org>
date Thu Dec 26 13:04:40 2019 +0000 (2019-12-26)
parents 223b265f40fd
children 466f9b8e7e27
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-apache"
4 VERSION="5.8.1"
5 CATEGORY="network"
6 SHORT_DESC="Apache plugin for Collectd"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://collectd.org"
11 #CONFIG_FILES="/etc/collectd/collectd.conf"
12 WANTED="collectd"
13 DEPENDS="libcurl apache"
14 BUILD_DEPENDS="curl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure \
20 --prefix=/usr \
21 --localstatedir=/var \
22 --enable-apache \
23 --disable-all-plugins \
24 --sysconfdir=/etc/collectd \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib/collectd
35 cp -a $install/usr/lib/collectd/*.so* $fs/usr/lib/collectd
36 }