wok view grub4dos/receipt @ rev 7216

add pcmanfm2 (mv from undigest)
author Rohit Joshi <jozee@slitaz.org>
date Wed Nov 10 21:25:42 2010 -0500 (2010-11-10)
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 }