wok-4.x annotate grub4dos/receipt @ rev 6117

fbida: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 05 10:08:04 2010 +0200 (2010-09-05)
parents fc5df6c998a3
children 18c63bd0a181
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@1726 8 TARBALL="$PACKAGE-$VERSION.zip"
pascal@1726 9 WEB_SITE="http://grub4dos.sourceforge.net/"
pascal@1726 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1726 11 BUILD_DEPENDS="lzma"
pascal@1726 12
pascal@1726 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1726 14 genpkg_rules()
pascal@1726 15 {
pascal@1729 16 mkdir -p $fs/usr/share/boot $fs/usr/bin
pascal@1726 17 lzma e $src/grub.exe $fs/usr/share/boot/grub.exe.lzma
pascal@1726 18 lzma e $src/grldr $fs/usr/share/boot/grldr.lzma
pascal@1729 19 cp $src/bootlace.com $fs/usr/bin/bootlace
pascal@1729 20 chmod +x $fs/usr/bin/bootlace
pascal@1726 21 }
pascal@1726 22