wok-6.x diff firefox-official-fr/receipt @ rev 24419
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 11 11:14:46 2022 +0000 (2022-02-11) |
parents | a6d313c5cce7 |
children | 8ae9e1d172f0 |
line diff
1.1 --- a/firefox-official-fr/receipt Wed Jun 17 15:35:48 2020 +0100 1.2 +++ b/firefox-official-fr/receipt Fri Feb 11 11:14:46 2022 +0000 1.3 @@ -17,6 +17,13 @@ 1.4 DEPENDS="alsa-lib dbus-glib gtk+ gtk+3 libatomic xorg-libXt libwrap vlc" 1.5 HOST_ARCH="i486" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - http://ftp.mozilla.org/pub/firefox/releases/ 2>/dev/null | \ 1.11 + sed '/releases\/[0-9]/!d;s|.*releases/||;s|/.*||' | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {