wok diff uclibc-cross-compiler-sh4/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (16 months ago)
parents 8dd8bab3f0ca
children
line diff
     1.1 --- a/uclibc-cross-compiler-sh4/receipt	Thu Jan 24 14:51:04 2019 +0100
     1.2 +++ b/uclibc-cross-compiler-sh4/receipt	Sun Jul 16 15:14:43 2023 +0000
     1.3 @@ -15,6 +15,13 @@
     1.4  
     1.5  SUGGESTED="uclibc-${PACKAGE##*-}"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - https://github.com/landley/aboriginal/tags 2>/dev/null | \
    1.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    1.12 +}
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {