wok-6.x annotate grub2-efi/receipt @ rev 24444
updated cups packages (2.3.1 -> 2.4.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 14 10:09:02 2022 +0100 (2022-02-14) |
parents | 68cf96abc146 |
children | 72f2704d3ae0 |
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@24415 | 13 WGET_URL="http://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@24066 | 19 CONFIG_FILES="/etc/default/grub /etc/grub.d/40_custom" |
pascal@24066 | 20 |
pascal@24415 | 21 # What is the latest version available today? |
pascal@24415 | 22 current_version() |
pascal@24415 | 23 { |
pascal@24415 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24415 | 25 sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||" | sort -Vr | sed q |
pascal@24415 | 26 } |
pascal@24415 | 27 |
pascal@18162 | 28 # Rules to configure and make the package. |
pascal@18162 | 29 compile_rules() |
pascal@18162 | 30 { |
Hans-G?nter@22404 | 31 sed -i 's|fprintf(...) |&(void)|' \ |
Hans-G?nter@22404 | 32 grub-core/script/yylex.l |
pascal@18162 | 33 export EFI_ARCH=i386 |
Hans-G?nter@22404 | 34 |
Hans-G?nter@22404 | 35 ./configure \ |
Hans-G?nter@22404 | 36 --prefix=/usr \ |
Hans-G?nter@22404 | 37 --sysconfdir=/etc \ |
Hans-G?nter@22404 | 38 --with-platform=efi \ |
Hans-G?nter@22404 | 39 --target=${EFI_ARCH} \ |
Hans-G?nter@22404 | 40 --program-prefix="" \ |
Hans-G?nter@22404 | 41 --mandir=/usr/share/man \ |
Hans-G?nter@22404 | 42 $CONFIGURE_ARGS && |
pascal@18162 | 43 make $MAKEFLAGS |
Hans-G?nter@22404 | 44 |
pascal@18162 | 45 cd grub-core |
pascal@18162 | 46 ../grub-mkimage -d . -o ../bootia32.efi -O i386-efi -p /boot/grub \ |
Hans-G?nter@22404 | 47 all_video appleldr boot btrfs cat chain configfile echo \ |
Hans-G?nter@22404 | 48 efi_gop efi_uga elf ext2 extcmd fat gettext gfxterm gzio hfs \ |
Hans-G?nter@22404 | 49 hfsplus iso9660 keylayouts linux loadbios loadenv loopback \ |
Hans-G?nter@22404 | 50 ls lsacpi lsefimmap lsefisystab lssal lvm memdisk memrw \ |
Hans-G?nter@22404 | 51 minicmd minix minix2 mmap msdospart normal ntfs part_apple \ |
Hans-G?nter@22404 | 52 part_bsd part_gpt reiserfs scsi search search_fs_file \ |
Hans-G?nter@22404 | 53 xfs xnu |
pascal@18162 | 54 } |
pascal@18162 | 55 |
pascal@18162 | 56 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18162 | 57 genpkg_rules() |
pascal@18162 | 58 { |
pascal@20302 | 59 mkdir -p $fs/boot/efi/boot |
pascal@18162 | 60 cp $src/bootia32.efi $fs/boot/efi/boot |
pascal@18162 | 61 } |