wok annotate collectd-apache/receipt @ rev 14229
nspr-dev: tiny edit
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Fri Mar 22 07:32:45 2013 +0100 (2013-03-22) |
parents | 91ed8fa372e3 |
children | 408c87fa22ca |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="collectd-apache" |
pascal@13207 | 4 VERSION="5.1.0" |
pascal@11218 | 5 CATEGORY="network" |
pascal@11218 | 6 SHORT_DESC="Apache plugin for Collectd" |
pascal@11218 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@11218 | 8 DEPENDS="libcurl apache" |
pascal@11218 | 9 BUILD_DEPENDS="curl-dev" |
pascal@11218 | 10 WEB_SITE="http://collectd.org" |
pascal@11218 | 11 #CONFIG_FILES="/etc/collectd/collectd.conf" |
pascal@11218 | 12 WANTED="collectd" |
pascal@11218 | 13 |
pascal@11218 | 14 # Rules to configure and make the package. |
pascal@11218 | 15 compile_rules() |
pascal@11218 | 16 { |
pascal@11218 | 17 cd $src |
pascal@11218 | 18 ./configure \ |
pascal@11218 | 19 --prefix=/usr \ |
pascal@11218 | 20 --localstatedir=/var \ |
pascal@11218 | 21 --enable-apache \ |
pascal@11218 | 22 --disable-all-plugins \ |
pascal@11218 | 23 --sysconfdir=/etc/collectd \ |
pascal@11218 | 24 $CONFIGURE_ARGS && |
pascal@13207 | 25 make && make DESTDIR=$DESTDIR install |
pascal@11218 | 26 } |
pascal@11218 | 27 |
pascal@11218 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 29 genpkg_rules() |
pascal@11218 | 30 { |
pascal@11218 | 31 mkdir -p $fs/usr/lib/collectd |
pascal@11218 | 32 |
pascal@11218 | 33 cp -a $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd |
pascal@11218 | 34 } |
pascal@11218 | 35 |