30 lines
686 B
Bash
30 lines
686 B
Bash
# Template file for 'memtest86+'
|
|
pkgname=memtest86+
|
|
version=5.01
|
|
revision=2
|
|
homepage="http://www.memtest.org"
|
|
distfiles="http://www.memtest.org/download/$version/$pkgname-$version.tar.gz"
|
|
short_desc="An Advanced Memory Diagnostic Tool"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
license="GPL-2"
|
|
checksum=142127b7953fbd829b1057fb64a78d3340c2b771484230a7347e94530a0d9039
|
|
|
|
only_for_archs="i686 x86_64"
|
|
nostrip=yes
|
|
noverifyrdeps=yes
|
|
|
|
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
|
makedepends="gcc-multilib"
|
|
fi
|
|
|
|
pre_build() {
|
|
sed '/scp memtest.*/d' -i Makefile
|
|
}
|
|
do_build() {
|
|
make
|
|
}
|
|
do_install() {
|
|
vinstall memtest.bin 755 boot memtest86+
|
|
vinstall ${FILESDIR}/20_memtest86+ 755 etc/grub.d
|
|
}
|