wok-next view collectd-apache/receipt @ rev 18505

mate-menus: keep python files
author Yuri Pourre <yuripourre@gmail.com>
date Sat Oct 17 12:28:50 2015 -0300 (2015-10-17)
parents 408c87fa22ca
children 143225e97e0f
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-apache"
4 VERSION="5.1.0"
5 CATEGORY="network"
6 SHORT_DESC="Apache plugin for Collectd"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://collectd.org"
10 #CONFIG_FILES="/etc/collectd/collectd.conf"
11 WANTED="collectd"
13 DEPENDS="libcurl apache"
14 BUILD_DEPENDS="curl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --localstatedir=/var \
23 --enable-apache \
24 --disable-all-plugins \
25 --sysconfdir=/etc/collectd \
26 $CONFIGURE_ARGS &&
27 make && 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 }