wok-current view grub4dos/receipt @ rev 6417
Up: git-gui: v0.12.66 => v0.13.0
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Sun Sep 26 10:57:35 2010 +0100 (2010-09-26) |
parents | b5264e32fea6 |
children | 5af4ef0cffa1 |
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"
11 BUILD_DEPENDS="lzma"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sh ./configure --prefix=/usr --infodir=/usr/share/info \
18 --without-curses --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/boot $fs/usr/bin
28 lzma e $_pkg/usr/lib/grub/i386-pc/grub.exe \
29 $fs/usr/share/boot/grub.exe.lzma
30 lzma e $_pkg/usr/lib/grub/i386-pc/grldr $fs/usr/share/boot/grldr.lzma
31 cp $_pkg/usr/lib/grub/i386-pc/bootlace.com $fs/usr/bin/bootlace
32 chmod +x $fs/usr/bin/bootlace
33 # Skip hmload.com badgrub.exe grldr.mbr
34 }