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