wok-6.x diff erlang/receipt @ rev 25557
Up bzip3 (1.3.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 23 16:03:47 2023 +0000 (19 months ago) |
parents | 08ef47c67999 |
children |
line diff
1.1 --- a/erlang/receipt Tue Feb 22 11:07:44 2022 +0100 1.2 +++ b/erlang/receipt Sun Apr 23 16:03:47 2023 +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.