12345678910111213141516171819202122232425262728293031 |
- # Description: A Multiboot boot loader
- # URL: http://www.gnu.org/software/grub/
- # Pcakager: milisarge
- # Depends on:
- name=grub
- version=2.02-beta3
- release=1
- source=(http://alpha.gnu.org/gnu/grub/grub-2.02~beta3.tar.xz \
- grub2-00_header.diff grub2-10_linux.diff grub.cfg.sample)
- build() {
- export CFLAGS="${CFLAGS} -Wno-error"
- cd grub-2.02~beta3
- # fix for glibc 'gets' removal
- sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h
- patch -i $SRC/grub2-00_header.diff util/grub.d/00_header.in
- patch -i $SRC/grub2-10_linux.diff util/grub.d/10_linux.in
- ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --enable-device-mapper \
- --disable-efiemu \
- --disable-grub-mount
- make
- make DESTDIR=$PKG install
- rm -rf $PKG/usr/share/{info,grub/themes}
- }
|