wok annotate grub2-efi/receipt @ rev 19984

Up tazusb (199)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 28 09:22:54 2017 +0200 (2017-06-28)
parents 6a6ea56d432e
children 1569af23c651
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@18162 28 ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus \
pascal@18162 29 iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd \
pascal@18162 30 xfs xnu part_bsd part_gpt search search_fs_file chain btrfs \
pascal@18162 31 loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart \
pascal@18162 32 scsi loopback normal configfile gzio all_video efi_gop efi_uga \
pascal@18162 33 gfxterm gettext echo boot chain
pascal@18162 34 }
pascal@18162 35
pascal@18162 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18162 37 genpkg_rules()
pascal@18162 38 {
pascal@19961 39 mkdir -p $fs/boot/efi/boot $fs/boot/grub/i386-efi
pascal@18162 40 cp $src/bootia32.efi $fs/boot/efi/boot
pascal@19961 41 cp $src/grub-core/*.mod $fs/boot/grub/i386-efi
pascal@18162 42 }