wok-current view memtest-efi64/receipt @ rev 25204

updated python-mock (1.0.1 -> 3.0.5)
author Hans-G?nter Theisgen
date Wed Jul 13 14:28:15 2022 +0100 (2022-07-13)
parents e171b422f9e7
children fb82383c591b
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest-efi64"
4 VERSION="6.00b2"
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 }