wok-6.x annotate collectd-apache/receipt @ rev 14905
tazdrop: try to fix (need pre-generate .mo files)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 31 20:36:06 2013 +0300 (2013-07-31) |
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 |