wok view memtest-efi64/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents 00e3b45c063b
children 6da3642bd96b
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest-efi64"
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}_64.iso.zip"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $WEB_SITE 2>/dev/null | \
17 sed '/_64.iso.zip/!d;s|.*mt86plus_||;s|_64.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/bootx64.efi memtest64.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/memtest64.efi $fs/EFI/boot/
35 }