wok-next annotate grub4dos/receipt @ rev 19841
Up adwaita-icon-theme, at-spi2-atk, at-spi2-core, elementary-icon-theme, gtk+, gtk+3, hydroxygen-iconset, libepoxy, paper-icon-theme, slitaz-icons-elementary, slitaz-icons-hydroxygen, slitaz-icons-paper. Add faience-icon-theme.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 17 16:45:06 2017 +0300 (2017-08-17) |
parents | d1c17bd2c2bc |
children | a7b1395df64a |
rev | line source |
---|---|
pascal@1726 | 1 # SliTaz package receipt. |
pascal@1726 | 2 |
pascal@1726 | 3 PACKAGE="grub4dos" |
pascal@4396 | 4 VERSION="0.4.4" |
pascal@1726 | 5 CATEGORY="system-tools" |
pascal@1726 | 6 SHORT_DESC="Some enhancments of grub boot loader." |
pascal@1726 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL2" |
al@19601 | 9 WEB_SITE="https://gna.org/projects/grub4dos/" |
al@19601 | 10 |
pascal@6240 | 11 TARBALL="$PACKAGE-$VERSION-src.zip" |
al@19601 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$PACKAGE-$VERSION-src.zip" |
pankso@10434 | 13 |
pascal@12235 | 14 BUILD_DEPENDS="lzma gcc3" |
al@19601 | 15 SPLIT="grub4dos-linux" |
pascal@1726 | 16 |
pascal@6240 | 17 # Rules to configure and make the package. |
pascal@6240 | 18 compile_rules() |
pascal@6240 | 19 { |
slaxemulator@9700 | 20 for i in $stuff/*.diff ; do |
pascal@7806 | 21 [ -f $(basename $i) ] && continue |
pascal@7806 | 22 patch -p1 < $i |
pascal@7806 | 23 touch $(basename $i) |
pascal@7806 | 24 done |
pascal@12235 | 25 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \ |
pascal@12235 | 26 util/grub-install.in |
pascal@12235 | 27 sh ./configure CC=gcc-3 \ |
pankso@10434 | 28 --enable-preset-menu=$stuff/menu.lst \ |
pankso@10434 | 29 --without-curses \ |
pascal@6240 | 30 $CONFIGURE_ARGS && |
pankso@10434 | 31 make && make install |
pascal@6240 | 32 } |
pascal@6240 | 33 |
pascal@1726 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1726 | 35 genpkg_rules() |
pascal@1726 | 36 { |
pankso@9497 | 37 mkdir -p $fs/usr/share/boot \ |
pankso@10434 | 38 $fs/usr/bin |
pankso@10434 | 39 |
pascal@15589 | 40 lzma e $install/usr/lib/grub/*/grub.exe $fs/usr/share/boot/grub.exe.lzma |
pascal@15589 | 41 lzma e $install/usr/lib/grub/*/grldr $fs/usr/share/boot/grldr.lzma |
pankso@10434 | 42 |
pascal@15589 | 43 cp $install/usr/lib/grub/*/bootlace.com $fs/usr/bin/bootlace |
pascal@1729 | 44 chmod +x $fs/usr/bin/bootlace |
pascal@6240 | 45 # Skip hmload.com badgrub.exe grldr.mbr |
pascal@1726 | 46 } |