void-packages/srcpkgs/memtest86+/template
Juan RP 5a2cc5b5bd xbps-src: infrastructure changes required for "nonfree" keyword in tmpls.
- The chroot target now execs masterdir/bin/xbps-shell to set up correct envvars.
- 2 pkgs are now in nonfree repo: adobe-flash-plugin and jre.
- Renamed some vars in xbps-src to be in uppercase, notably XBPS_MACHINE.
- make-repoidx target now creates the index for all "known" directories specified
  via XBPS_PACKAGESDIR: XBPS_MACHINE, noarch, and nonfree/XBPS_MACHINE.
2011-11-08 11:56:17 +01:00

34 lines
958 B
Text

# Template file for 'memtest86+'
pkgname=memtest86+
version=4.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>"
checksum=6ec42f549da81b715bfc5c55b93b74774fb5c35f7578c7eecebab3ca37866ca4
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."
nostrip=yes
noverifyrdeps=yes
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
Add_dependency build gcc-multilib
fi
do_build()
{
make ${makejobs}
}
do_install()
{
vinstall memtest.bin 755 boot memtest86+
vinstall ${FILESDIR}/20_memtest86+ 755 etc/grub.d
}