# HG changeset patch # User Pascal Bellard # Date 1435140536 -7200 # Node ID 6ee5e2fb96173dff8fdb1da1e03d37dec966daf2 # Parent 09b238284d9edf467b0f28d07974672fcbe3c967 Add grub2-efi diff -r 09b238284d9e -r 6ee5e2fb9617 grub2-efi/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/grub2-efi/receipt Wed Jun 24 12:08:56 2015 +0200 @@ -0,0 +1,45 @@ +# SliTaz package receipt. + +PACKAGE="grub2-efi" +SOURCE="grub" +VERSION="2.00" +CATEGORY="base-system" +SHORT_DESC="GRUB2 boot loader." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3" +TARBALL="$SOURCE-$VERSION.tar.xz" +WEB_SITE="http://www.gnu.org/software/grub/" +WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL" + +DEPENDS="zlib freetype ncurses libusb-compat grep libusb libdevmapper" +BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev \ +libusb-compat-dev libusb-dev libdevmapper-dev" + +# Rules to configure and make the package. +compile_rules() +{ + # Fixes for flex 2.5.37 + export CFLAGS="-Wno-error=sign-compare" + sed -i 's/YY_FATAL_ERROR/REMOVED_&/' grub-core/script/yylex.l + + export EFI_ARCH=i386 + ./configure --prefix=/usr --sysconfdir=/etc \ + --with-platform=efi --target=${EFI_ARCH} --program-prefix="" \ + --mandir=/usr/share/man $CONFIGURE_ARGS && + make $MAKEFLAGS + cd grub-core + ../grub-mkimage -d . -o ../bootia32.efi -O i386-efi -p /boot/grub \ + ntfs hfs appleldr boot cat efi_gop efi_uga elf fat hfsplus \ + iso9660 linux keylayouts memdisk minicmd part_apple ext2 extcmd \ + xfs xnu part_bsd part_gpt search search_fs_file chain btrfs \ + loadbios loadenv lvm minix minix2 reiserfs memrw mmap msdospart \ + scsi loopback normal configfile gzio all_video efi_gop efi_uga \ + gfxterm gettext echo boot chain +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/boot/efi/boot + cp $src/bootia32.efi $fs/boot/efi/boot +} diff -r 09b238284d9e -r 6ee5e2fb9617 util-linux-uuid-dev/receipt --- a/util-linux-uuid-dev/receipt Tue Jun 23 17:09:47 2015 +0200 +++ b/util-linux-uuid-dev/receipt Wed Jun 24 12:08:56 2015 +0200 @@ -10,7 +10,7 @@ WEB_SITE="http://freecode.com/projects/util-linux/" HOST_ARCH="i486 arm" -DEPENDS="pkg-config" +DEPENDS="pkg-config util-linux-uuid" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules()