void-packages/srcpkgs/memtest86+/template

22 lines
716 B
Bash

# Template file for 'memtest86+'
pkgname=memtest86+
version=7.20
revision=1
archs="i686* x86_64*"
build_wrksrc="build$XBPS_TARGET_WORDSIZE"
build_style="gnu-makefile"
make_use_env=yes # we DON'T want our cflags to be used
short_desc="Advanced Memory Diagnostic Tool"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-or-later"
homepage="http://www.memtest.org"
distfiles="https://github.com/memtest86plus/memtest86plus/archive/refs/tags/v${version}.tar.gz"
checksum=8bad4b5788bc28e4dd1db78c9069bd0c65a4a6baf16409ab537c795bb04578b3
nostrip=yes
do_install() {
vinstall memtest.bin 755 boot/memtest86+
vinstall memtest.efi 755 boot/memtest86+
vinstall "${FILESDIR}/20_memtest86+" 755 etc/grub.d
}