wok diff grub2-efi/receipt @ rev 18412
linux64-open-vm-tools-kernel: uclibc-cross-compiler-x86_64 is not compatible with aufs+tmpfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 19 18:50:17 2015 +0200 (2015-09-19) |
parents | |
children | 96c03c2f8bdd |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/grub2-efi/receipt Sat Sep 19 18:50:17 2015 +0200 1.3 @@ -0,0 +1,45 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="grub2-efi" 1.7 +SOURCE="grub" 1.8 +VERSION="2.00" 1.9 +CATEGORY="base-system" 1.10 +SHORT_DESC="GRUB2 boot loader." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="GPL3" 1.13 +TARBALL="$SOURCE-$VERSION.tar.xz" 1.14 +WEB_SITE="http://www.gnu.org/software/grub/" 1.15 +WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL" 1.16 + 1.17 +DEPENDS="zlib freetype ncurses libusb-compat grep libusb libdevmapper" 1.18 +BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev \ 1.19 +libusb-compat-dev libusb-dev libdevmapper-dev" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + # Fixes for flex 2.5.37 1.25 + export CFLAGS="-Wno-error=sign-compare" 1.26 + sed -i 's/YY_FATAL_ERROR/REMOVED_&/' grub-core/script/yylex.l 1.27 + 1.28 + export EFI_ARCH=i386 1.29 + ./configure --prefix=/usr --sysconfdir=/etc \ 1.30 + --with-platform=efi --target=${EFI_ARCH} --program-prefix="" \ 1.31 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.32 + make $MAKEFLAGS 1.33 + cd grub-core 1.34 + ../grub-mkimage -d . -o ../bootia32.efi -O i386-efi -p /boot/grub \ 1.35 + ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus \ 1.36 + iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd \ 1.37 + xfs xnu part_bsd part_gpt search search_fs_file chain btrfs \ 1.38 + loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart \ 1.39 + scsi loopback normal configfile gzio all_video efi_gop efi_uga \ 1.40 + gfxterm gettext echo boot chain 1.41 +} 1.42 + 1.43 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 +genpkg_rules() 1.45 +{ 1.46 + mkdir -p $fs/boot/efi/boot 1.47 + cp $src/bootia32.efi $fs/boot/efi/boot 1.48 +}