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