milis/talimatname/temel-ek/grub_eski/talimat

31 lines
756 B
Plaintext
Raw Normal View History

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