wok-6.x diff erlang/receipt @ rev 25375
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 30 08:30:06 2022 +0000 (2022-07-30) |
parents | 08ef47c67999 |
children |
line diff
1.1 --- a/erlang/receipt Tue Feb 22 11:07:44 2022 +0100 1.2 +++ b/erlang/receipt Sat Jul 30 08:30:06 2022 +0000 1.3 @@ -16,10 +16,11 @@ 1.4 BUILD_DEPENDS="autoconf gcc+gcj icedtea6-jdk libxslt ncurses-dev 1.5 openssl-dev perl unixODBC-dev wxWidgets-dev" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 - wget -O - $(dirname $WGET_URL) 2>/dev/null | \ 1.11 - sed '/otp_src_[0-9]/!d;/tar/!d;/-rc/d;s|.*otp_src_\(.*\).tar.*".*|\1|' | sort -Vr | sed q 1.12 + wget -O - https://github.com/erlang/otp/releases 2>/dev/null | \ 1.13 + sed '/archive.*tar/!d;s|.*/[A-Za-z-]*\(.*\).tar.*|\1|;q' 1.14 } 1.15 1.16 # Rules to configure and make the package.