Merge oe-devel@oe-devel.bkbits.net:packages
[openembedded.git] / grub / grub_0.93.oe
1 SECTION = "base"
2 DESCRIPTION = "grand unified bootloader"
3
4 SRC_URI = "ftp://alpha.gnu.org/gnu/grub/grub-${PV}.tar.gz; \
5            file://autohell.patch;patch=1 \
6            file://memcpy.patch;patch=1 \
7            file://reiserfs.patch;patch=1"
8
9 S = "${WORKDIR}/grub-${PV}"
10
11 inherit autotools
12
13 python __anonymous () {
14         import re
15         host = oe.data.getVar('HOST_SYS', d, 1)
16         if not re.match('i.86.*-linux', host):
17                 raise oe.parse.SkipPackage("incompatible with host %s" % host)
18 }