wok annotate grub2-efi/receipt @ rev 20625

lazarus: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 31 19:46:12 2018 +0100 (2018-12-31)
parents 1569af23c651
children 81f116b5627e
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@18162 15 BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-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@18162 21 export EFI_ARCH=i386
pascal@18162 22 ./configure --prefix=/usr --sysconfdir=/etc \
pascal@18162 23 --with-platform=efi --target=${EFI_ARCH} --program-prefix="" \
pascal@18162 24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@18162 25 make $MAKEFLAGS
pascal@18162 26 cd grub-core
pascal@18162 27 ../grub-mkimage -d . -o ../bootia32.efi -O i386-efi -p /boot/grub \
pascal@20301 28 lsefisystab lssal lsefimmap lsacpi ls \
pascal@18162 29 ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus \
pascal@18162 30 iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd \
pascal@18162 31 xfs xnu part_bsd part_gpt search search_fs_file chain btrfs \
pascal@18162 32 loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart \
pascal@20301 33 scsi loopback normal configfile gzio all_video \
pascal@20301 34 gfxterm gettext echo
pascal@18162 35 }
pascal@18162 36
pascal@18162 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18162 38 genpkg_rules()
pascal@18162 39 {
pascal@20302 40 mkdir -p $fs/boot/efi/boot
pascal@18162 41 cp $src/bootia32.efi $fs/boot/efi/boot
pascal@18162 42 }