wok-6.x diff tp_smapi64/receipt @ rev 25442
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 02 16:30:36 2022 +0000 (2022-09-02) |
parents | f2bea3663690 |
children |
line diff
1.1 --- a/tp_smapi64/receipt Fri Mar 09 18:10:50 2018 +0100 1.2 +++ b/tp_smapi64/receipt Fri Sep 02 16:30:36 2022 +0000 1.3 @@ -18,6 +18,13 @@ 1.4 # Aufs enable chroot 1.5 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - $WEB_SITE/releases 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {