2010-02-18 07:56:34 +01:00
|
|
|
# Template file for 'memtest86+'
|
|
|
|
pkgname=memtest86+
|
2012-02-23 09:25:34 +01:00
|
|
|
version=4.20
|
2012-02-23 09:29:23 +01:00
|
|
|
revision=1
|
2012-02-23 09:25:34 +01:00
|
|
|
homepage="http://www.memtest.org"
|
2010-02-18 07:56:34 +01:00
|
|
|
distfiles="http://www.memtest.org/download/$version/$pkgname-$version.tar.gz"
|
|
|
|
short_desc="An Advanced Memory Diagnostic Tool"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-23 09:25:34 +01:00
|
|
|
license="GPL-2"
|
2013-04-14 04:24:51 +02:00
|
|
|
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
2012-05-23 20:58:45 +02:00
|
|
|
makedepends="gcc-multilib"
|
|
|
|
fi
|
2012-02-23 09:25:34 +01:00
|
|
|
checksum=5630ce978d0e6b671891df4253fc5c54659764d0cdfc7515ac0df3d8dd9e8737
|
2010-02-18 07:56:34 +01:00
|
|
|
long_desc="
|
|
|
|
Memtest86+ scans your RAM for errors.
|
|
|
|
|
|
|
|
It can output a list of bad RAM regions usable by the BadRAM kernel patch,
|
|
|
|
so that you can still use you old RAM with one or two bad bits.
|
|
|
|
|
|
|
|
Memtest86+ is based on memtest86 3.0, and adds support for recent hardware,
|
|
|
|
as well as a number of general-purpose improvements, including many patches
|
|
|
|
to memtest86 available from various sources."
|
|
|
|
|
2012-02-23 09:25:34 +01:00
|
|
|
do_build() {
|
2011-07-11 21:59:45 +02:00
|
|
|
make ${makejobs}
|
2010-02-18 07:56:34 +01:00
|
|
|
}
|
|
|
|
|
2012-02-23 09:25:34 +01:00
|
|
|
do_install() {
|
2011-07-11 21:59:45 +02:00
|
|
|
vinstall memtest.bin 755 boot memtest86+
|
|
|
|
vinstall ${FILESDIR}/20_memtest86+ 755 etc/grub.d
|
2010-02-18 07:56:34 +01:00
|
|
|
}
|
2013-04-14 04:24:51 +02:00
|
|
|
|
|
|
|
memtest86+_package() {
|
|
|
|
nostrip=yes
|
|
|
|
noverifyrdeps=yes
|
|
|
|
pkg_install() {
|
|
|
|
vmove boot
|
|
|
|
vmove etc
|
|
|
|
}
|
|
|
|
}
|