]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - grub/grub.nm
util-linux: Remove man pages from tools we do not want to use.
[people/stevee/ipfire-3.x.git] / grub / grub.nm
CommitLineData
c36e4789 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
c36e4789
MT
4###############################################################################
5
802ea3af 6name = grub
47bdaf55
MT
7version = 1.99
8release = 1
c36e4789 9
802ea3af
MT
10groups = Base System/Boot
11url = http://www.gnu.org/software/grub/
12license = GPLv2+
13summary = Grand Unified Boot Loader.
c36e4789 14
802ea3af 15description
c36e4789
MT
16 GRUB (Grand Unified Boot Loader) is an experimental boot loader \
17 capable of booting into most free operating systems - Linux, FreeBSD, \
18 NetBSD, GNU Mach, and others as well as most commercial operating \
19 systems.
802ea3af
MT
20end
21
47bdaf55 22source_dl = http://ftp.gnu.org/gnu/grub/
802ea3af
MT
23
24build
25 requires
26 autoconf
27 automake
28 bison
29 flex
30 freetype-devel
31 gettext
32 ncurses-devel
802ea3af
MT
33 zlib-devel
34 end
35
47bdaf55
MT
36 # Can only use very basic CFLAGS.
37 export CFLAGS = -O2 -pipe
38 export CXXFLAGS = %{CFLAGS}
802ea3af
MT
39
40 configure_options += \
41 --sysconfdir=/etc \
47bdaf55
MT
42 --sbindir=/sbin \
43 --with-platform=pc
802ea3af
MT
44
45 install
46 make install DESTDIR=%{BUILDROOT}
47
802ea3af
MT
48 # Install theme file
49 install -m 0744 %{DIR_SOURCE}/05_theme %{BUILDROOT}/etc/grub.d/
50
51 # Install splash background
47bdaf55 52 mkdir -pv %{BUILDROOT}/boot/grub
802ea3af 53 install %{DIR_SOURCE}/splash.png %{BUILDROOT}/boot/grub
802ea3af
MT
54 end
55end
56
57quality-agent
58 whitelist_nx
47bdaf55 59 /sbin/*|/usr/bin/*
802ea3af
MT
60 end
61end
62
63packages
64 package %{name}
65 requires
66 gettext
67 os-prober
47bdaf55
MT
68 /usr/share/X11/fonts/misc/unifont.pcf.gz
69 end
70
71 # Generate grub compatible font for graphical boot menu
72 # This only converts Latin-1, Latin Extended A+B, Arrows, Box and Block characters
73 script postin
74 /usr/bin/grub-mkfont --output /boot/grub/unifont.pf2 \
75 --range=0x0000-0x0241,0x2190-0x21FF,0x2500-0x259f /usr/share/X11/fonts/misc/unifont.pcf.gz
802ea3af
MT
76 end
77 end
78end