wok-current view collectd-bind/receipt @ rev 24899
updated mediawiki (1.34.1 -> 1.37.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 09 09:41:00 2022 +0100 (2022-04-09) |
parents | fcfac5b91be2 |
children | 73f36875e5a7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="collectd-bind"
4 SOURCE="collectd"
5 VERSION="5.8.1"
6 CATEGORY="network"
7 SHORT_DESC="Apache plugin for Collectd"
8 MAINTAINER="erjo@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="http://collectd.org"
12 TARBALL="$SOURCE-$VERSION.tar.bz2"
13 WGET_URL="http://collectd.org/files/$TARBALL"
14 #CONFIG_FILES="/etc/collectd/collectd.conf"
16 DEPENDS="libcurl libxml2"
17 BUILD_DEPENDS="libcurl curl-dev libxml2 libxml2-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --prefix=/usr \
31 --localstatedir=/var \
32 --enable-bind \
33 --disable-all-plugins \
34 --sysconfdir=/etc/collectd \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib/collectd
44 cp -a $install/usr/lib/collectd/bind.so* $fs/usr/lib/collectd
45 }