wok-6.x diff slitaz-arm-codex/receipt @ rev 24819
libnsl: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Mar 23 09:20:46 2022 +0000 (2022-03-23) |
parents | d6aaea06354b |
children |
line diff
1.1 --- a/slitaz-arm-codex/receipt Fri Apr 01 10:34:29 2016 +0200 1.2 +++ b/slitaz-arm-codex/receipt Wed Mar 23 09:20:46 2022 +0000 1.3 @@ -11,6 +11,13 @@ 1.4 WGET_URL="http://hg.slitaz.org/slitaz-forge/archive/$VERSION.tar.bz2" 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - http://hg.slitaz.org/slitaz-forge/ 2>/dev/null | \ 1.10 + sed '/^Changeset/!d;s|.*">|http://hg.slitaz.org/slitaz-forge/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 {