wok view grub2-efi/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | 996067d113c6 |
children | 17091bc7c301 |
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 CONFIG_FILES="/etc/default/grub /etc/grub.d/40_custom"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 sed -i 's|fprintf(...) |&(void)|' \
25 grub-core/script/yylex.l
26 export EFI_ARCH=i386
28 ./configure \
29 --prefix=/usr \
30 --sysconfdir=/etc \
31 --with-platform=efi \
32 --target=${EFI_ARCH} \
33 --program-prefix="" \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS
38 cd grub-core
39 ../grub-mkimage -d . -o ../bootia32.efi -O i386-efi -p /boot/grub \
40 all_video appleldr boot btrfs cat chain configfile echo \
41 efi_gop efi_uga elf ext2 extcmd fat gettext gfxterm gzio hfs \
42 hfsplus iso9660 keylayouts linux loadbios loadenv loopback \
43 ls lsacpi lsefimmap lsefisystab lssal lvm memdisk memrw \
44 minicmd minix minix2 mmap msdospart normal ntfs part_apple \
45 part_bsd part_gpt reiserfs scsi search search_fs_file \
46 xfs xnu
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p $fs/boot/efi/boot
53 cp $src/bootia32.efi $fs/boot/efi/boot
54 }