wok-current annotate collectd-apache/receipt @ rev 24333
updated autoconf (2.69 -> 2.71)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 28 08:53:07 2022 +0100 (2022-01-28) |
parents | e4f78af785ff |
children | 471c4bad5183 |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="collectd-apache" |
Hans-G?nter@22608 | 4 VERSION="5.10.0" |
pascal@11218 | 5 CATEGORY="network" |
Hans-G?nter@22608 | 6 SHORT_DESC="Apache plugin for Collectd." |
pascal@11218 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15202 | 8 LICENSE="GPL2" |
Hans-G?nter@22608 | 9 WEB_SITE="https://collectd.org" |
Hans-G?nter@22608 | 10 |
Hans-G?nter@22608 | 11 DEPENDS="apache libcurl" |
Hans-G?nter@22608 | 12 BUILD_DEPENDS="curl-dev" |
Hans-G?nter@22608 | 13 WANTED="collectd" |
Hans-G?nter@20801 | 14 |
pascal@11218 | 15 #CONFIG_FILES="/etc/collectd/collectd.conf" |
pascal@15001 | 16 |
pascal@11218 | 17 # Rules to configure and make the package. |
pascal@11218 | 18 compile_rules() |
pascal@11218 | 19 { |
Hans-G?nter@22608 | 20 ./configure \ |
Hans-G?nter@22608 | 21 --prefix=/usr \ |
Hans-G?nter@22608 | 22 --localstatedir=/var \ |
Hans-G?nter@22608 | 23 --enable-apache \ |
Hans-G?nter@22608 | 24 --disable-all-plugins \ |
Hans-G?nter@22608 | 25 --sysconfdir=/etc/collectd \ |
pascal@11218 | 26 $CONFIGURE_ARGS && |
Hans-G?nter@20801 | 27 make && |
Hans-G?nter@20801 | 28 make DESTDIR=$DESTDIR install |
pascal@11218 | 29 } |
pascal@11218 | 30 |
pascal@11218 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 32 genpkg_rules() |
pascal@11218 | 33 { |
pascal@11218 | 34 mkdir -p $fs/usr/lib/collectd |
Hans-G?nter@22608 | 35 cp -a $install/usr/lib/collectd/*.so* $fs/usr/lib/collectd |
pascal@11218 | 36 } |