]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blame - memtest86+/memtest86+.nm
Add a -debuginfo for every package that is not noarch.
[people/ms/ipfire-3.x.git] / memtest86+ / memtest86+.nm
CommitLineData
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
6name = memtest86+
7version = 4.20
8release = 1
6d675cd3 9
802ea3af
MT
10groups = Base System/Base
11url = http://www.memtest.org/
12license = GPLv2
13summary = Stand-alone memory tester for x86 and x86-64 computers.
6d675cd3 14
802ea3af
MT
15description
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
20end
21
22source_dl =
6d675cd3 23
802ea3af
MT
24build
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
39end
435aa863 40
802ea3af
MT
41packages
42 package %{name}
1f9bc2f0
MT
43
44 package %{name}-debuginfo
45 template DEBUGINFO
46 end
802ea3af 47end