]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pkgs/memtest86+/memtest86+.nm
Change file layout of the makefiles.
[people/amarx/ipfire-3.x.git] / pkgs / 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 = 1
9
10 groups = Base System/Base
11 url = http://www.memtest.org/
12 license = GPLv2
13 summary = Stand-alone memory tester for x86 and x86-64 computers.
14
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
19 Memtest86+.
20 end
21
22 source_dl =
23
24 build
25 CFLAGS += -fno-builtin -ffreestanding
26
27 build
28 make CC="gcc -fno-stack-protector -fno-PIE" \
29 CFLAGS="%{CFLAGS}" memtest.bin %{PARALLELISMFLAGS}
30 end
31
32 install
33 mkdir -pv %{BUILDROOT}/boot
34 cp -vf memtest.bin %{BUILDROOT}/boot/memtest86+
35
36 mkdir -pv %{BUILDROOT}/etc/grub.d
37 cp -vf %{DIR_SOURCE}/%{name}.grub %{BUILDROOT}/etc/grub.d/20_%{name}
38 end
39 end
40
41 packages
42 package %{name}
43 end