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

updated pari and pari-dev (2.11.2 -> 2.11.3)
author Hans-G?nter Theisgen
date Sat Mar 28 16:53:31 2020 +0100 (2020-03-28)
parents cc07895be981
children 68cf96abc146
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@18162 19 # Rules to configure and make the package.
pascal@18162 20 compile_rules()
pascal@18162 21 {
Hans-G?nter@22404 22 sed -i 's|fprintf(...) |&(void)|' \
Hans-G?nter@22404 23 grub-core/script/yylex.l
pascal@18162 24 export EFI_ARCH=i386
Hans-G?nter@22404 25
Hans-G?nter@22404 26 ./configure \
Hans-G?nter@22404 27 --prefix=/usr \
Hans-G?nter@22404 28 --sysconfdir=/etc \
Hans-G?nter@22404 29 --with-platform=efi \
Hans-G?nter@22404 30 --target=${EFI_ARCH} \
Hans-G?nter@22404 31 --program-prefix="" \
Hans-G?nter@22404 32 --mandir=/usr/share/man \
Hans-G?nter@22404 33 $CONFIGURE_ARGS &&
pascal@18162 34 make $MAKEFLAGS
Hans-G?nter@22404 35
pascal@18162 36 cd grub-core
pascal@18162 37 ../grub-mkimage -d . -o ../bootia32.efi -O i386-efi -p /boot/grub \
Hans-G?nter@22404 38 all_video appleldr boot btrfs cat chain configfile echo \
Hans-G?nter@22404 39 efi_gop efi_uga elf ext2 extcmd fat gettext gfxterm gzio hfs \
Hans-G?nter@22404 40 hfsplus iso9660 keylayouts linux loadbios loadenv loopback \
Hans-G?nter@22404 41 ls lsacpi lsefimmap lsefisystab lssal lvm memdisk memrw \
Hans-G?nter@22404 42 minicmd minix minix2 mmap msdospart normal ntfs part_apple \
Hans-G?nter@22404 43 part_bsd part_gpt reiserfs scsi search search_fs_file \
Hans-G?nter@22404 44 xfs xnu
pascal@18162 45 }
pascal@18162 46
pascal@18162 47 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18162 48 genpkg_rules()
pascal@18162 49 {
pascal@20302 50 mkdir -p $fs/boot/efi/boot
pascal@18162 51 cp $src/bootia32.efi $fs/boot/efi/boot
pascal@18162 52 }