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