wok annotate collectd-apache/receipt @ rev 25188
xorg-imake: update create-lib-cmd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 12 14:15:49 2022 +0000 (2022-07-12) |
parents | 466f9b8e7e27 |
children |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="collectd-apache" |
Hans-G?nter@24430 | 4 VERSION="5.12.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 } |