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 \
37 CFLAGS += -fno-strict-aliasing
39 configure_options += \
45 sed -e "s@ GNU/Linux\"@\"@" -i util/grub.d/10_linux.in
49 make install DESTDIR=%{BUILDROOT}
51 sed -e "s/pkgdatadir/pkglibdir/g" -i %{BUILDROOT}/usr/sbin/grub-install
53 mkdir -pv %{BUILDROOT}/boot/grub
56 install -m 0744 %{DIR_SOURCE}/05_theme %{BUILDROOT}/etc/grub.d/
58 # Install splash background
59 install %{DIR_SOURCE}/splash.png %{BUILDROOT}/boot/grub
61 # XXX - We will have to do this after the installation of the package by pakfire
62 # Generate grub compatible font for graphical boot menu
63 # This only converts Latin-1, Latin Extended A+B, Arrows, Box and Block characters
64 %{BUILDROOT}/usr/bin/grub-mkfont --output=%{BUILDROOT}/boot/grub/unifont.pf2 \
65 --range=0x0000-0x0241,0x2190-0x21FF,0x2500-0x259f /usr/share/X11/fonts/misc/unifont.pcf.gz
71 /usr/bin/*|/usr/sbin/*