wok view grub2-efi/receipt @ rev 22658
updated drbd-utils (8.9.1 -> 9.11.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 07:50:39 2020 +0100 (2020-01-17) |
parents | cc07895be981 |
children | 68cf96abc146 |
line source
1 # SliTaz package receipt.
3 PACKAGE="grub2-efi"
4 VERSION="2.04"
5 CATEGORY="base-system"
6 SHORT_DESC="GRUB2 boot loader."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/grub/"
11 SOURCE="grub"
12 TARBALL="$SOURCE-$VERSION.tar.xz"
13 WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL"
15 DEPENDS="freetype grep libdevmapper libusb-compat libusb ncurses zlib"
16 BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev
17 libusb-compat-dev libusb-dev ncurses-dev xz-dev zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 sed -i 's|fprintf(...) |&(void)|' \
23 grub-core/script/yylex.l
24 export EFI_ARCH=i386
26 ./configure \
27 --prefix=/usr \
28 --sysconfdir=/etc \
29 --with-platform=efi \
30 --target=${EFI_ARCH} \
31 --program-prefix="" \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS
36 cd grub-core
37 ../grub-mkimage -d . -o ../bootia32.efi -O i386-efi -p /boot/grub \
38 all_video appleldr boot btrfs cat chain configfile echo \
39 efi_gop efi_uga elf ext2 extcmd fat gettext gfxterm gzio hfs \
40 hfsplus iso9660 keylayouts linux loadbios loadenv loopback \
41 ls lsacpi lsefimmap lsefisystab lssal lvm memdisk memrw \
42 minicmd minix minix2 mmap msdospart normal ntfs part_apple \
43 part_bsd part_gpt reiserfs scsi search search_fs_file \
44 xfs xnu
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/boot/efi/boot
51 cp $src/bootia32.efi $fs/boot/efi/boot
52 }