wok annotate collectd-apache/receipt @ rev 15425

Up: thunderbird-langpack-pt_PT (17.0.9esr)
author Dominique Corbex <domcox@slitaz.org>
date Sun Nov 03 21:52:50 2013 +0100 (2013-11-03)
parents 408c87fa22ca
children e4f78af785ff
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@15202 8 LICENSE="GPL2"
pascal@11218 9 WEB_SITE="http://collectd.org"
pascal@11218 10 #CONFIG_FILES="/etc/collectd/collectd.conf"
pascal@11218 11 WANTED="collectd"
pascal@11218 12
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 cd $src
pascal@11218 20 ./configure \
pascal@11218 21 --prefix=/usr \
pascal@11218 22 --localstatedir=/var \
pascal@11218 23 --enable-apache \
pascal@11218 24 --disable-all-plugins \
pascal@11218 25 --sysconfdir=/etc/collectd \
pascal@11218 26 $CONFIGURE_ARGS &&
pascal@13207 27 make && 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 }
pascal@11218 37