wok-current annotate memtest-efi64/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
rev   line source
pascal@24978 1 # SliTaz package receipt.
pascal@24978 2
pascal@24978 3 PACKAGE="memtest-efi64"
pascal@24978 4 VERSION="6.00b1"
pascal@24978 5 CATEGORY="base-system"
pascal@24978 6 SHORT_DESC="Memory failures detection tool."
pascal@24978 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@24978 8 LICENSE="GPL2"
pascal@24978 9 TARBALL="$PACKAGE-$VERSION.zip"
pascal@24991 10 WEB_SITE="https://www.memtest.org/" # https://github.com/memtest86plus/memtest86plus/
pascal@24978 11 WGET_URL="https://memtest.org/download/v$VERSION/mt86plus_${VERSION}_64.iso.zip"
pascal@24978 12
pascal@24978 13 # What is the latest version available today?
pascal@24978 14 current_version()
pascal@24978 15 {
pascal@24978 16 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24978 17 sed '/_64.iso.zip/!d;s|.*mt86plus_||;s|_64.iso.zip.*||;q'
pascal@24978 18 }
pascal@24978 19
pascal@24978 20 # Rules to configure and make the package.
pascal@24978 21 compile_rules()
pascal@24978 22 {
pascal@24978 23 mkdir mnt
pascal@24978 24 mount -o loop,ro $TARBALL mnt
pascal@24978 25 cp mnt/EFI/BOOT/bootx64.efi memtest64.efi
pascal@24978 26 umount -d mnt
pascal@24978 27 }
pascal@24978 28
pascal@24978 29
pascal@24978 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@24978 31 genpkg_rules()
pascal@24978 32 {
pascal@24978 33 mkdir -p $fs/EFI/boot
pascal@24978 34 cp $src/memtest64.efi $fs/EFI/boot/
pascal@24978 35 }