2010-02-18 07:56:34 +01:00
|
|
|
# Template file for 'memtest86+'
|
|
|
|
pkgname=memtest86+
|
2014-03-17 22:00:10 +01:00
|
|
|
version=5.01
|
|
|
|
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"
|
2014-03-17 22:00:10 +01:00
|
|
|
checksum=142127b7953fbd829b1057fb64a78d3340c2b771484230a7347e94530a0d9039
|
2010-02-18 07:56:34 +01:00
|
|
|
|
2013-06-10 09:08:40 +02:00
|
|
|
only_for_archs="i686 x86_64"
|
2014-01-01 16:10:11 +01:00
|
|
|
nostrip=yes
|
|
|
|
noverifyrdeps=yes
|
2014-03-17 22:00:10 +01:00
|
|
|
|
2014-02-21 14:50:47 +01:00
|
|
|
if [ "$XBPS_MACHINE" = "x86_64" ]; then
|
|
|
|
makedepends="gcc-multilib"
|
|
|
|
fi
|
2013-06-10 09:08:40 +02:00
|
|
|
|
2014-03-17 22:00:10 +01:00
|
|
|
pre_build() {
|
|
|
|
sed '/scp memtest.*/d' -i Makefile
|
|
|
|
}
|
|
|
|
|
2012-02-23 09:25:34 +01:00
|
|
|
do_build() {
|
2014-03-17 22:00:10 +01:00
|
|
|
make
|
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
|
|
|
}
|