wok rev 18162

Add grub2-efi
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 24 12:08:56 2015 +0200 (2015-06-24)
parents 09b238284d9e
children 13835bce7189
files grub2-efi/receipt util-linux-uuid-dev/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/grub2-efi/receipt	Wed Jun 24 12:08:56 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 +}
     2.1 --- a/util-linux-uuid-dev/receipt	Tue Jun 23 17:09:47 2015 +0200
     2.2 +++ b/util-linux-uuid-dev/receipt	Wed Jun 24 12:08:56 2015 +0200
     2.3 @@ -10,7 +10,7 @@
     2.4  WEB_SITE="http://freecode.com/projects/util-linux/"
     2.5  HOST_ARCH="i486 arm"
     2.6  
     2.7 -DEPENDS="pkg-config"
     2.8 +DEPENDS="pkg-config util-linux-uuid"
     2.9  
    2.10  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.11  genpkg_rules()