wok-6.x diff xsane/receipt @ rev 24402
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 08 16:59:06 2022 +0000 (2022-02-08) |
parents | 451564b0cc5d |
children | 17091bc7c301 |
line diff
1.1 --- a/xsane/receipt Mon Jan 27 16:39:27 2020 +0100 1.2 +++ b/xsane/receipt Tue Feb 08 16:59:06 2022 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 DEPENDS="sane-backends gtk+ tiff xorg-libXdamage lcms libv4l libltdl" 1.5 BUILD_DEPENDS="gtk+-dev sane-backends-dev lcms-dev " 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.10 + sed '/tar.gz/!d;s|.*/xsane-\(.*\).tar.gz".*|\1|;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {