wok annotate grub4dos/receipt @ rev 18612
lxpanel, slitaz-configs: copy LXPanel profile to /etc/skel (again)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 17 16:50:26 2015 +0200 (2015-11-17) |
parents | a7288c2607d3 |
children | 800de22df35e |
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" |
pascal@6240 | 9 TARBALL="$PACKAGE-$VERSION-src.zip" |
pascal@1726 | 10 WEB_SITE="http://grub4dos.sourceforge.net/" |
pascal@1726 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@10434 | 12 |
pascal@12235 | 13 BUILD_DEPENDS="lzma gcc3" |
pascal@1726 | 14 |
pascal@6240 | 15 # Rules to configure and make the package. |
pascal@6240 | 16 compile_rules() |
pascal@6240 | 17 { |
pascal@6240 | 18 cd $src |
slaxemulator@9700 | 19 for i in $stuff/*.diff ; do |
pascal@7806 | 20 [ -f $(basename $i) ] && continue |
pascal@7806 | 21 patch -p1 < $i |
pascal@7806 | 22 touch $(basename $i) |
pascal@7806 | 23 done |
pascal@12235 | 24 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \ |
pascal@12235 | 25 util/grub-install.in |
pascal@12235 | 26 sh ./configure CC=gcc-3 \ |
pankso@10434 | 27 --enable-preset-menu=$stuff/menu.lst \ |
pankso@10434 | 28 --without-curses \ |
pascal@6240 | 29 $CONFIGURE_ARGS && |
pankso@10434 | 30 make && make install |
pascal@6240 | 31 } |
pascal@6240 | 32 |
pascal@1726 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1726 | 34 genpkg_rules() |
pascal@1726 | 35 { |
pankso@9497 | 36 mkdir -p $fs/usr/share/boot \ |
pankso@10434 | 37 $fs/usr/bin |
pankso@10434 | 38 |
pascal@15589 | 39 lzma e $install/usr/lib/grub/*/grub.exe $fs/usr/share/boot/grub.exe.lzma |
pascal@15589 | 40 lzma e $install/usr/lib/grub/*/grldr $fs/usr/share/boot/grldr.lzma |
pankso@10434 | 41 |
pascal@15589 | 42 cp $install/usr/lib/grub/*/bootlace.com $fs/usr/bin/bootlace |
pascal@1729 | 43 chmod +x $fs/usr/bin/bootlace |
pascal@6240 | 44 # Skip hmload.com badgrub.exe grldr.mbr |
pascal@1726 | 45 } |