wok diff testdisk/receipt @ rev 24938
mypaint-brushes: add current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 14 09:10:40 2022 +0000 (2022-04-14) |
parents | 1a6247d8730a |
children |
line diff
1.1 --- a/testdisk/receipt Sun Oct 20 15:20:05 2019 +0100 1.2 +++ b/testdisk/receipt Thu Apr 14 09:10:40 2022 +0000 1.3 @@ -18,6 +18,12 @@ 1.4 DEPENDS="e2fsprogs jpeg krb5 libcomerr3 ncurses ncursesw ntfs-3g ntfsprogs zlib" 1.5 BUILD_DEPENDS="e2fsprogs-dev jpeg-dev ncurses-dev ntfs-3g-dev ntfsprogs-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - $WEB_SITE 2>/dev/null | \ 1.10 + sed '/Download/!d;/^<a /!d;s|.*<b>||;s|</.*||' 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {