wok-current diff w3m/receipt @ rev 24425
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 11 17:50:36 2022 +0000 (2022-02-11) |
parents | c32de9979605 |
children | 9a714ac859a3 |
line diff
1.1 --- a/w3m/receipt Sun Oct 15 01:56:59 2017 +0200 1.2 +++ b/w3m/receipt Fri Feb 11 17:50:36 2022 +0000 1.3 @@ -14,6 +14,12 @@ 1.4 DEPENDS="gc libcrypto libssl ncurses imlib2" 1.5 BUILD_DEPENDS="gc gc-dev libcrypto-dev openssl-dev imlib2-dev" 1.6 1.7 +current_version() 1.8 +{ 1.9 + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ 1.10 + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" 1.11 +} 1.12 + 1.13 # Rules to configure and make the package. 1.14 compile_rules() 1.15 {