wok-current annotate grub2-efi/receipt @ rev 21866

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