wok-6.x diff zssh/receipt @ rev 24525
Up libav (0.6.6 -> 12.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 22 16:15:28 2022 +0000 (2022-02-22) |
parents | 38da7d1a1d04 |
children | 7dd01dedad38 |
line diff
1.1 --- a/zssh/receipt Tue Aug 09 11:46:12 2016 +0200 1.2 +++ b/zssh/receipt Tue Feb 22 16:15:28 2022 +0000 1.3 @@ -14,6 +14,13 @@ 1.4 DEPENDS="readline lrzsz" 1.5 BUILD_DEPENDS="readline-dev ncurses-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 '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ 1.11 + sed '/tgz/!d;s|.*zssh-||;s|.tgz.*||;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {