wok-current view collectd/receipt @ rev 20911
updated fasm (1.73.04 -> 1.73.09)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 28 14:37:48 2019 +0100 (2019-02-28) |
parents | 408c87fa22ca |
children | 466f9b8e7e27 |
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd"
4 VERSION="5.8.1"
5 CATEGORY="network"
6 SHORT_DESC="System Stattistics Collection Daemon"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://collectd.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://collectd.org/files/$TARBALL"
13 CONFIG_FILES="/etc/collectd/collectd.conf"
15 DEPENDS="rrdtool perl"
16 BUILD_DEPENDS="slitaz-toolchain rrdtool-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --localstatedir=/var \
24 --enable-interface \
25 --enable-load \
26 --enable-cpu \
27 --enable-disk \
28 --enable-logfile \
29 --enable-syslog \
30 --enable-csv\
31 --enable-rrdtool \
32 --with-librrdtool=/usr/include \
33 --disable-all-plugins \
34 --sysconfdir=/etc/collectd \
35 --localstatedir=/var \
36 $CONFIGURE_ARGS &&
37 make &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
45 mkdir -p $fs/usr/lib/collectd \
46 $fs/usr/share \
47 $fs/etc/init.d
49 cp -a $install/etc $fs/
50 cp -a $install/var $fs/
51 cp -a $install/usr/share/collectd $fs/usr/share
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/sbin $fs/usr
54 cp -a $install/usr/lib/*.so* $fs/usr/lib
55 cp -a $install/usr/lib/collectd/*.so $fs/usr/lib/collectd
56 cp -a $install/usr/lib/perl5 $fs/usr/lib
58 # Add init script and fixes
59 install -g root -o root -m 0755 $stuff/collectd $fs/etc/init.d
60 chmod 0644 $fs/etc/collectd/*
61 }