wok-next view collectd-apache/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 143225e97e0f |
children | 757d032c55c7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-apache"
4 VERSION="5.1.0"
5 SOURCE="collectd"
6 CATEGORY="network"
7 SHORT_DESC="Apache plugin for Collectd"
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://collectd.org"
12 WGET_URL="http://collectd.org/files/$TARBALL"
13 #CONFIG_FILES="/etc/collectd/collectd.conf"
15 DEPENDS="libcurl apache"
16 BUILD_DEPENDS="curl-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --prefix=/usr \
23 --localstatedir=/var \
24 --enable-apache \
25 --disable-all-plugins \
26 --sysconfdir=/etc/collectd \
27 $CONFIGURE_ARGS &&
28 make && 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
36 cp -a $install/usr/lib/collectd/*.so* $fs/usr/lib/collectd
37 }