wok diff giblib/receipt @ rev 25122
Up apache (2.4.54)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 28 08:48:09 2022 +0000 (2022-06-28) |
parents | 513bea7dd854 |
children | b0069c845544 |
line diff
1.1 --- a/giblib/receipt Fri May 20 10:31:08 2022 +0100 1.2 +++ b/giblib/receipt Tue Jun 28 08:48:09 2022 +0000 1.3 @@ -16,6 +16,13 @@ 1.4 1.5 HOST_ARCH="i486 arm" 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.11 + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' 1.12 +} 1.13 + 1.14 # Handle cross compilation 1.15 case "$ARCH" in 1.16 arm*) export CFLAGS="$CFLAGS -L/cross/$ARCH/sysroot/usr/lib" ;;