wok-6.x view grub4dos/receipt @ rev 9430

Add gource.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 31 03:38:34 2011 +0000 (2011-03-31)
parents 5af4ef0cffa1
children c08cda6805e8
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 for i in ../stuff/*.diff ; do
18 [ -f $(basename $i) ] && continue
19 patch -p1 < $i
20 touch $(basename $i)
21 done
22 sh ./configure --prefix=/usr --infodir=/usr/share/info \
23 --enable-preset-menu=../stuff/menu.lst \
24 --without-curses --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/share/boot $fs/usr/bin
34 lzma e $_pkg/usr/lib/grub/i386-pc/grub.exe \
35 $fs/usr/share/boot/grub.exe.lzma
36 lzma e $_pkg/usr/lib/grub/i386-pc/grldr $fs/usr/share/boot/grldr.lzma
37 cp $_pkg/usr/lib/grub/i386-pc/bootlace.com $fs/usr/bin/bootlace
38 chmod +x $fs/usr/bin/bootlace
39 # Skip hmload.com badgrub.exe grldr.mbr
40 }