wok diff tinycm/receipt @ rev 24430

updated collectd-apache and collectd-dev (5.10.0 -> 5.12.0)
author Hans-G?nter Theisgen
date Sat Feb 12 16:39:44 2022 +0100 (2022-02-12)
parents 2d70b04a7ddd
children
line diff
     1.1 --- a/tinycm/receipt	Sun Feb 12 00:48:16 2017 +0100
     1.2 +++ b/tinycm/receipt	Sat Feb 12 16:39:44 2022 +0100
     1.3 @@ -11,6 +11,13 @@
     1.4  WGET_URL="http://hg.slitaz.org/$PACKAGE/archive/$VERSION.tar.gz"
     1.5  HOST_ARCH="i486 arm"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - http://hg.slitaz.org/$PACKAGE/ 2>/dev/null | \
    1.10 +	sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/'$PACKAGE'/rev/|;s|<.*||' | \
    1.11 +	xargs wget -O - 2>/dev/null | sed '/rev /!d;s|.*rev ||;s| .*||'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {