blob: ccea423abb9e5c4ecdc7611a2c1c41549cb7601d (
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
29
30
31
32
33
34
|
# Description: GRand Unified Bootloader, le programme de chargement du noyau en mémoire vive
# URL: http://www.gnu.org/software/grub/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: freetype
# Run on: freetype
name=grub
version=2.00
release=1
source=(ftp://ftp.gnu.org/gnu/grub/grub-2.00.tar.gz\
grub.cfg)
build() {
cd grub-2.00
unset CXXFLAGS
sed -i -e '/gets is a/d' grub-core/gnulib/stdio.in.h
./configure --prefix=/usr \
--mandir=/usr/share/man \
--sysconfdir=/etc \
--disable-grub-emu-usb \
--disable-efiemu \
--infodir=/usr/share/info \
--disable-werror
make
make DESTDIR=$PKG install
install -d $PKG/boot/grub
install -d $PKG/usr/share
if [ -f $PKG/usr/share/info/dir ]; then
rm $PKG/usr/share/info/dir
fi
install -Dm644 ../grub.cfg \
$PKG/boot/grub/grub.cfg.exemple
}
|