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