wok view memtest-efi64/receipt @ rev 25503

f3: include extra programs
author Hans-G?nter Theisgen
date Fri Jan 27 10:37:43 2023 +0100 (15 months ago)
parents 6da3642bd96b
children a7a39e042b62
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest-efi64"
4 VERSION="6.01"
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 }