wok diff w3m/receipt @ rev 25057

linux-libre: fix linux-libre-3.18.129-gnu-slitaz.config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 11:05:30 2022 +0000 (2022-06-06)
parents c32de9979605
children 9a714ac859a3
line diff
     1.1 --- a/w3m/receipt	Sun Oct 15 01:56:59 2017 +0200
     1.2 +++ b/w3m/receipt	Mon Jun 06 11:05:30 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  {