wok-current view grub4dos/receipt @ rev 11992

bastet: new desktop icon
author Samuel Trassare <samuel_trassare@yahoo.com>
date Sat Mar 03 12:21:34 2012 -0800 (2012-03-03)
parents d1768332cee0
children a7288c2607d3
line source
1 # SliTaz package receipt.
3 PACKAGE="grub4dos"
4 VERSION="0.4.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Some enhancments of grub boot loader."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION-src.zip"
9 WEB_SITE="http://grub4dos.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 BUILD_DEPENDS="lzma"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 for i in $stuff/*.diff ; do
19 [ -f $(basename $i) ] && continue
20 patch -p1 < $i
21 touch $(basename $i)
22 done
23 sh ./configure \
24 --enable-preset-menu=$stuff/menu.lst \
25 --without-curses \
26 $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/boot \
34 $fs/usr/bin
36 lzma e $_pkg/usr/lib/grub/*/grub.exe $fs/usr/share/boot/grub.exe.lzma
37 lzma e $_pkg/usr/lib/grub/*/grldr $fs/usr/share/boot/grldr.lzma
39 cp $_pkg/usr/lib/grub/*/bootlace.com $fs/usr/bin/bootlace
40 chmod +x $fs/usr/bin/bootlace
41 # Skip hmload.com badgrub.exe grldr.mbr
42 }