wok view memtest-efi64/receipt @ rev 25516

memtest64: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 11:36:17 2023 +0000 (21 months ago)
parents fb82383c591b
children 3c71bb4367c3
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest-efi64"
4 VERSION="6.10"
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 }