wok-current diff grub2-efi-x64/receipt @ rev 24557
updated fltk packages (1.3.5 -> 1.3.8)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 15:09:26 2022 +0100 (2022-02-25) |
parents | 68cf96abc146 |
children | 72f2704d3ae0 |
line diff
1.1 --- a/grub2-efi-x64/receipt Mon Jul 05 15:00:07 2021 +0000 1.2 +++ b/grub2-efi-x64/receipt Fri Feb 25 15:09:26 2022 +0100 1.3 @@ -10,7 +10,7 @@ 1.4 1.5 SOURCE="grub" 1.6 TARBALL="$SOURCE-$VERSION.tar.xz" 1.7 -WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL" 1.8 +WGET_URL="http://ftp.gnu.org/gnu/grub/$TARBALL" 1.9 1.10 DEPENDS="freetype grep libdevmapper libusb libusb-compat ncurses zlib" 1.11 BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev 1.12 @@ -21,6 +21,13 @@ 1.13 1.14 AUFS_NOT_RAMFS="uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs 8(" 1.15 1.16 +# What is the latest version available today? 1.17 +current_version() 1.18 +{ 1.19 + wget -O - ${WGET_URL%/*} 2>/dev/null | \ 1.20 + sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q 1.21 +} 1.22 + 1.23 # Rules to configure and make the package. 1.24 compile_rules() 1.25 {