1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
12 url = http://www.gnu.org/software/grub/
14 summary = Grand Unified Boot Loader.
17 GRUB (Grand Unified Boot Loader) is an experimental boot loader \
18 capable of booting into most free operating systems - Linux, FreeBSD, \
19 NetBSD, GNU Mach, and others as well as most commercial operating \
23 source_dl = http://ftp.gnu.org/gnu/grub/
37 # Can only use very basic CFLAGS.
38 export CFLAGS = -O2 -pipe
39 export CXXFLAGS = %{CFLAGS}
41 configure_options += \
47 make install DESTDIR=%{BUILDROOT}
50 install -m 0744 %{DIR_SOURCE}/05_theme %{BUILDROOT}/etc/grub.d/
52 # Install splash background
53 mkdir -pv %{BUILDROOT}/boot/grub
54 install %{DIR_SOURCE}/splash.png %{BUILDROOT}/boot/grub
56 # Install empty configuration file.
57 touch %{BUILDROOT}/boot/grub/grub.cfg
72 /usr/share/X11/fonts/misc/unifont.pcf.gz
80 # Generate grub compatible font for graphical boot menu
81 # This only converts Latin-1, Latin Extended A+B, Arrows, Box and Block characters
83 /usr/bin/grub-mkfont --output /boot/grub/unifont.pf2 \
84 --range=0x0000-0x0241,0x2190-0x21FF,0x2500-0x259f /usr/share/X11/fonts/misc/unifont.pcf.gz
88 package %{name}-debuginfo