wok diff memtest-efi32/receipt @ rev 24986

Up nettle 3.7.3 again, need glib-networking rebuild to no break midori
author Stanislas Leduc <shann@slitaz.org>
date Wed May 11 08:28:28 2022 -0400 (2022-05-11)
parents
children e171b422f9e7
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/memtest-efi32/receipt	Wed May 11 08:28:28 2022 -0400
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="memtest-efi32"
     1.7 +VERSION="6.00b1"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Memory failures detection tool."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.zip"
    1.13 +WEB_SITE="http://www.memtest.org/"	# https://github.com/memtest86plus/memtest86plus/
    1.14 +WGET_URL="https://memtest.org/download/v$VERSION/mt86plus_${VERSION}_32.iso.zip"
    1.15 +
    1.16 +# What is the latest version available today?
    1.17 +current_version()
    1.18 +{
    1.19 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.20 +	sed '/_32.iso.zip/!d;s|.*mt86plus_||;s|_32.iso.zip.*||;q'
    1.21 +}
    1.22 +
    1.23 +# Rules to configure and make the package.
    1.24 +compile_rules()
    1.25 +{
    1.26 +	mkdir mnt
    1.27 +	mount -o loop,ro $TARBALL mnt
    1.28 +	cp mnt/EFI/BOOT/bootia32.efi memtest32.efi
    1.29 +	umount -d mnt
    1.30 +} 
    1.31 +
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/EFI/boot
    1.37 +	cp $src/memtest32.efi $fs/EFI/boot/
    1.38 +}