]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - memtest86+/memtest86+.nm
glibc: Update to 2.19.
[people/ms/ipfire-3.x.git] / memtest86+ / memtest86+.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = memtest86+
7 version = 4.20
8 release = 4
9 sup_arches = i686 x86_64
10
11 groups = System/Base
12 url = http://www.memtest.org/
13 license = GPLv2
14 summary = Stand-alone memory tester for x86 and x86-64 computers.
15
16 description
17 Memtest86+ is a thorough stand-alone memory test for x86 and x86-64
18 architecture computers. BIOS based memory tests are only a quick
19 check and often miss many of the failures that are detected by
20 Memtest86+.
21 end
22
23 source_dl =
24
25 build
26 CFLAGS += -fno-builtin -ffreestanding
27
28 build
29 make CC="gcc -fno-stack-protector -fno-PIE" \
30 CFLAGS="%{CFLAGS}" memtest.bin %{PARALLELISMFLAGS}
31 end
32
33 install
34 mkdir -pv %{BUILDROOT}/boot
35 cp -vf memtest.bin %{BUILDROOT}/boot/memtest86+
36
37 mkdir -pv %{BUILDROOT}/etc/grub.d
38 cp -vf %{DIR_SOURCE}/%{name}.grub %{BUILDROOT}/etc/grub.d/20_%{name}
39 end
40 end
41
42 packages
43 package %{name}
44 end