1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Base System/Boot
11 url = http://www.gnu.org/software/grub/
13 summary = Grand Unified Boot Loader.
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 \
22 source_dl = http://ftp.gnu.org/gnu/grub/
36 # Can only use very basic CFLAGS.
37 export CFLAGS = -O2 -pipe
38 export CXXFLAGS = %{CFLAGS}
40 configure_options += \
46 make install DESTDIR=%{BUILDROOT}
49 install -m 0744 %{DIR_SOURCE}/05_theme %{BUILDROOT}/etc/grub.d/
51 # Install splash background
52 mkdir -pv %{BUILDROOT}/boot/grub
53 install %{DIR_SOURCE}/splash.png %{BUILDROOT}/boot/grub
68 /usr/share/X11/fonts/misc/unifont.pcf.gz
71 # Generate grub compatible font for graphical boot menu
72 # This only converts Latin-1, Latin Extended A+B, Arrows, Box and Block characters
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