wok-next diff grub4dos/receipt @ rev 6562
Up: conky to 1.8.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 07 23:41:04 2010 +0000 (2010-10-07) |
parents | b5264e32fea6 |
children | 5af4ef0cffa1 |
line diff
1.1 --- a/grub4dos/receipt Fri Oct 16 16:08:20 2009 +0200 1.2 +++ b/grub4dos/receipt Thu Oct 07 23:41:04 2010 +0000 1.3 @@ -5,18 +5,30 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="Some enhancments of grub boot loader." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 -TARBALL="$PACKAGE-$VERSION.zip" 1.8 +TARBALL="$PACKAGE-$VERSION-src.zip" 1.9 WEB_SITE="http://grub4dos.sourceforge.net/" 1.10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.11 BUILD_DEPENDS="lzma" 1.12 1.13 +# Rules to configure and make the package. 1.14 +compile_rules() 1.15 +{ 1.16 + cd $src 1.17 + sh ./configure --prefix=/usr --infodir=/usr/share/info \ 1.18 + --without-curses --mandir=/usr/share/man \ 1.19 + $CONFIGURE_ARGS && 1.20 + make && 1.21 + make DESTDIR=$PWD/_pkg install 1.22 +} 1.23 + 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 mkdir -p $fs/usr/share/boot $fs/usr/bin 1.28 - lzma e $src/grub.exe $fs/usr/share/boot/grub.exe.lzma 1.29 - lzma e $src/grldr $fs/usr/share/boot/grldr.lzma 1.30 - cp $src/bootlace.com $fs/usr/bin/bootlace 1.31 + lzma e $_pkg/usr/lib/grub/i386-pc/grub.exe \ 1.32 + $fs/usr/share/boot/grub.exe.lzma 1.33 + lzma e $_pkg/usr/lib/grub/i386-pc/grldr $fs/usr/share/boot/grldr.lzma 1.34 + cp $_pkg/usr/lib/grub/i386-pc/bootlace.com $fs/usr/bin/bootlace 1.35 chmod +x $fs/usr/bin/bootlace 1.36 + # Skip hmload.com badgrub.exe grldr.mbr 1.37 } 1.38 -