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