wok-6.x diff lzma/receipt @ rev 25110

jstetris: update wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 10:07:42 2022 +0000 (2022-06-25)
parents 86790a278e70
children ad0bc3efbf37
line diff
     1.1 --- a/lzma/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/lzma/receipt	Sat Jun 25 10:07:42 2022 +0000
     1.3 @@ -14,6 +14,13 @@
     1.4  
     1.5  DEPENDS="lzlib zlib gcc-lib-base"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/sevenzip/files/LZMA%20SDK/ 2>/dev/null | \
    1.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    1.11 +	sed "/$PACKAGE/!d;/tar/!d;s|.*$PACKAGE\\(.\\)\\(.*\\).tar.*\".*|\\1.\\2|;q"
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {