wok annotate grub4dos/receipt @ rev 6307

Up: gtkspell to 2.0.16.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Sep 16 20:38:35 2010 +0000 (2010-09-16)
parents b5264e32fea6
children 5af4ef0cffa1
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@6240 8 TARBALL="$PACKAGE-$VERSION-src.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@6240 13 # Rules to configure and make the package.
pascal@6240 14 compile_rules()
pascal@6240 15 {
pascal@6240 16 cd $src
pascal@6240 17 sh ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@6240 18 --without-curses --mandir=/usr/share/man \
pascal@6240 19 $CONFIGURE_ARGS &&
pascal@6240 20 make &&
pascal@6240 21 make DESTDIR=$PWD/_pkg install
pascal@6240 22 }
pascal@6240 23
pascal@1726 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1726 25 genpkg_rules()
pascal@1726 26 {
pascal@1729 27 mkdir -p $fs/usr/share/boot $fs/usr/bin
pascal@6240 28 lzma e $_pkg/usr/lib/grub/i386-pc/grub.exe \
pascal@6240 29 $fs/usr/share/boot/grub.exe.lzma
pascal@6240 30 lzma e $_pkg/usr/lib/grub/i386-pc/grldr $fs/usr/share/boot/grldr.lzma
pascal@6240 31 cp $_pkg/usr/lib/grub/i386-pc/bootlace.com $fs/usr/bin/bootlace
pascal@1729 32 chmod +x $fs/usr/bin/bootlace
pascal@6240 33 # Skip hmload.com badgrub.exe grldr.mbr
pascal@1726 34 }