wok diff slitaz-dev-tools/receipt @ rev 24319

Add xsuspend
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 25 17:24:16 2022 +0000 (2022-01-25)
parents 1dce8e8602f2
children
line diff
     1.1 --- a/slitaz-dev-tools/receipt	Sat Sep 24 14:47:43 2016 +0200
     1.2 +++ b/slitaz-dev-tools/receipt	Tue Jan 25 17:24:16 2022 +0000
     1.3 @@ -10,6 +10,13 @@
     1.4  WEB_SITE="http://www.slitaz.org/"
     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 gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {