wok diff phpqrcode/receipt @ rev 24348
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 02 18:01:43 2022 +0000 (2022-02-02) |
parents | d51b2411e55e |
children | 7dd01dedad38 |
line diff
1.1 --- a/phpqrcode/receipt Sat Apr 05 10:12:34 2014 +0000 1.2 +++ b/phpqrcode/receipt Wed Feb 02 18:01:43 2022 +0000 1.3 @@ -13,6 +13,12 @@ 1.4 1.5 DEPENDS="qrencode php-gd" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/phpqrcode/files/releases/ 2>/dev/null | \ 1.10 + sed '/released/!d;s|.*_||;s|.zip.*||;q' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {