wok-6.x annotate collectd-apache/receipt @ rev 11988
syslinux: 4.0-RC2 string (release process started)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 03 18:52:52 2012 +0100 (2012-03-03) |
parents | |
children | 91ed8fa372e3 |
rev | line source |
---|---|
pascal@11218 | 1 # SliTaz package receipt. |
pascal@11218 | 2 |
pascal@11218 | 3 PACKAGE="collectd-apache" |
pascal@11218 | 4 VERSION="4.7.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 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11218 | 11 WEB_SITE="http://collectd.org" |
pascal@11218 | 12 #CONFIG_FILES="/etc/collectd/collectd.conf" |
pascal@11218 | 13 WANTED="collectd" |
pascal@11218 | 14 |
pascal@11218 | 15 # Rules to configure and make the package. |
pascal@11218 | 16 compile_rules() |
pascal@11218 | 17 { |
pascal@11218 | 18 cd $src |
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 && |
pascal@11218 | 26 make && make DESTDIR=$PWD/_plugins install |
pascal@11218 | 27 } |
pascal@11218 | 28 |
pascal@11218 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11218 | 30 genpkg_rules() |
pascal@11218 | 31 { |
pascal@11218 | 32 mkdir -p $fs/usr/lib/collectd |
pascal@11218 | 33 |
pascal@11218 | 34 cp -a $_pkg/usr/lib/collectd/*.so* $fs/usr/lib/collectd |
pascal@11218 | 35 } |
pascal@11218 | 36 |