wok view memtest-efi32/receipt @ rev 24991

Update some web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 14 08:41:24 2022 +0000 (2022-05-14)
parents 00e3b45c063b
children 6da3642bd96b
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest-efi32"
4 VERSION="6.00b1"
5 CATEGORY="base-system"
6 SHORT_DESC="Memory failures detection tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="https://www.memtest.org/" # https://github.com/memtest86plus/memtest86plus/
11 WGET_URL="https://memtest.org/download/v$VERSION/mt86plus_${VERSION}_32.iso.zip"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $WEB_SITE 2>/dev/null | \
17 sed '/_32.iso.zip/!d;s|.*mt86plus_||;s|_32.iso.zip.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 mkdir mnt
24 mount -o loop,ro $TARBALL mnt
25 cp mnt/EFI/BOOT/bootia32.efi memtest32.efi
26 umount -d mnt
27 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/EFI/boot
34 cp $src/memtest32.efi $fs/EFI/boot/
35 }