wok diff h8300-gcc/receipt @ rev 25026

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 10:39:49 2022 +0000 (2022-05-19)
parents 380ffe05937a
children
line diff
     1.1 --- a/h8300-gcc/receipt	Sat Aug 10 17:00:38 2013 +0000
     1.2 +++ b/h8300-gcc/receipt	Thu May 19 10:39:49 2022 +0000
     1.3 @@ -15,6 +15,13 @@
     1.4  DEPENDS="h8300-binutils glibc-base gmp mpfr"
     1.5  BUILD_DEPENDS="slitaz-toolchain gawk flex gmp gmp-dev mpfr mpfr-dev h8300-binutils"
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - 'https://gcc.gnu.org/git/?p=gcc.git;a=summary' 2>/dev/null | \
    1.11 +	sed '/ release/!d;s|.*GCC ||;s| release.*||' | sort -Vr | sed q
    1.12 +}
    1.13 +
    1.14  # Configuration only needs included if we're in the build/wok environment
    1.15  if [ -e $WOK/h8300-toolchain/stuff/h8300.conf ] ; then
    1.16  	. $WOK/h8300-toolchain/stuff/h8300.conf