void-packages/srcpkgs/memtest86+/template
2014-02-21 14:50:47 +01:00

26 lines
643 B
Text

# Template file for 'memtest86+'
pkgname=memtest86+
version=4.20
revision=3
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@gmail.com>"
license="GPL-2"
checksum=5630ce978d0e6b671891df4253fc5c54659764d0cdfc7515ac0df3d8dd9e8737
only_for_archs="i686 x86_64"
nostrip=yes
noverifyrdeps=yes
if [ "$XBPS_MACHINE" = "x86_64" ]; then
makedepends="gcc-multilib"
fi
do_build() {
make ${makejobs}
}
do_install() {
vinstall memtest.bin 755 boot memtest86+
vinstall ${FILESDIR}/20_memtest86+ 755 etc/grub.d
}