summaryrefslogtreecommitdiffstats
path: root/grub/Pkgfile.old
blob: b2991c6fb3f2902e54a6e008e6b2c2ca045061c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Description: GNU GRUB (GRand Unified Bootloader) 2
# URL: http://www.gnu.org/software/grub/
# Maintainer: Hannes Mayer, kontakt at ecarux dot de
# Depends on: gettext, lzo, freetype

name=grub
version=1.97.1
release=1
source=(ftp://alpha.gnu.org/gnu/$name/$name-$version.tar.gz \
	grub2-915resolution.patch)

build () {
	cd $name-$version
	./autogen.sh
	patch -p1 < $SRC/grub2-915resolution.patch
	sed -i 's|/usr/src/unifont.bdf|/usr/share/fonts/misc/unifont.bdf|' configure
	./configure --prefix=/usr \
		--disable-werror \
		--sysconfdir=/etc \
		--libdir=/usr/share \
		--mandir=/usr/man \
		--sbindir=/sbin \
		--disable-nls \
		--enable-grub-mkfont
		
	make
	make DESTDIR=$PKG install
}