PKG_NAME = grub
PKG_VER = 1.98
-PKG_REL = 0
+PKG_REL = 1
PKG_MAINTAINER =
PKG_GROUP = System/Boot
PKG_SUMMARY = Grand Unified Boot Loader.
PKG_BUILD_DEPS+= autoconf automake bison flex freetype-devel gettext \
- ncurses-devel zlib-devel
+ ncurses-devel xorg-x11-fonts zlib-devel
PKG_DEPS += os-prober
define PKG_DESCRIPTION
cd $(DIR_APP) && make install DESTDIR=$(BUILDROOT)
sed -e "s/pkgdatadir/pkglibdir/g" -i $(BUILDROOT)/usr/sbin/grub-install
+
+ # XXX - We will have to do this after the installation of the package by pakfire
+ # Generate grub compatible font for graphical boot menu
+ -mkdir -pv $(BUILDROOT)/boot/grub
+ # This only converts Latin-1, Latin Extended A+B, Arrows, Box and Block characters
+ $(BUILDROOT)/usr/bin/grub-mkfont --output=$(BUILDROOT)/boot/grub/unifont.pf2 \
+ --range=0x0000-0x0241,0x2190-0x21FF,0x2500-0x259f /usr/share/X11/fonts/misc/unifont.pcf.gz
endef