wok-next view grub4dos/receipt @ rev 9721

pangomm: Add cairomm-dev and glibmm-dev to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon May 09 01:41:52 2011 +0000 (2011-05-09)
parents 6a0e0cf4c95a
children 591ce1ef5cb6
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 \
34 $fs/usr/bin
35 lzma e $_pkg/usr/lib/grub/i386-pc/grub.exe \
36 $fs/usr/share/boot/grub.exe.lzma
37 lzma e $_pkg/usr/lib/grub/i386-pc/grldr $fs/usr/share/boot/grldr.lzma
38 cp $_pkg/usr/lib/grub/i386-pc/bootlace.com $fs/usr/bin/bootlace
39 chmod +x $fs/usr/bin/bootlace
40 # Skip hmload.com badgrub.exe grldr.mbr
41 }