wok-6.x diff directfb-examples/receipt @ rev 25512
memtest: 386/1M support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 07:20:48 2023 +0000 (21 months ago) |
parents | 05c8d8d9d934 |
children |
line diff
1.1 --- a/directfb-examples/receipt Wed Oct 28 15:17:00 2020 +0000 1.2 +++ b/directfb-examples/receipt Tue Feb 14 07:20:48 2023 +0000 1.3 @@ -23,6 +23,13 @@ 1.4 export CPPFLAGS="$CPPFLAGS -I/cross/arm/sysroot/usr/include/directfb" ;; 1.5 esac 1.6 1.7 +# What is the latest version available today? 1.8 +current_version() 1.9 +{ 1.10 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.11 + sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q 1.12 +} 1.13 + 1.14 # Rules to configure and make the package. 1.15 compile_rules() 1.16 {