wok-next rev 6240
Add grub4dos-linux
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 12 19:11:14 2010 +0200 (2010-09-12) |
parents | d25af2fe827e |
children | b415119b4b86 |
files | grub4dos-linux/receipt grub4dos/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/grub4dos-linux/receipt Sun Sep 12 19:11:14 2010 +0200 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="grub4dos-linux" 1.7 +VERSION="0.4.4" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Some enhancments of grub boot loader - linux files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://grub4dos.sourceforge.net/" 1.12 +WANTED="grub4dos" 1.13 +PROVIDE="grub" 1.14 + 1.15 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.16 +genpkg_rules() 1.17 +{ 1.18 + mkdir -p $fs/usr/lib/grub/i386-pc 1.19 + cp -a $_pkg/usr/bin $fs/usr 1.20 + cp -a $_pkg/usr/sbin $fs/usr 1.21 + cp -a $_pkg/usr/lib/grub/i386-pc/*stage* $fs/usr/lib/grub/i386-pc 1.22 +}
2.1 --- a/grub4dos/receipt Sun Sep 12 12:40:23 2010 +0000 2.2 +++ b/grub4dos/receipt Sun Sep 12 19:11:14 2010 +0200 2.3 @@ -5,18 +5,30 @@ 2.4 CATEGORY="system-tools" 2.5 SHORT_DESC="Some enhancments of grub boot loader." 2.6 MAINTAINER="pascal.bellard@slitaz.org" 2.7 -TARBALL="$PACKAGE-$VERSION.zip" 2.8 +TARBALL="$PACKAGE-$VERSION-src.zip" 2.9 WEB_SITE="http://grub4dos.sourceforge.net/" 2.10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 2.11 BUILD_DEPENDS="lzma" 2.12 2.13 +# Rules to configure and make the package. 2.14 +compile_rules() 2.15 +{ 2.16 + cd $src 2.17 + sh ./configure --prefix=/usr --infodir=/usr/share/info \ 2.18 + --without-curses --mandir=/usr/share/man \ 2.19 + $CONFIGURE_ARGS && 2.20 + make && 2.21 + make DESTDIR=$PWD/_pkg install 2.22 +} 2.23 + 2.24 # Rules to gen a SliTaz package suitable for Tazpkg. 2.25 genpkg_rules() 2.26 { 2.27 mkdir -p $fs/usr/share/boot $fs/usr/bin 2.28 - lzma e $src/grub.exe $fs/usr/share/boot/grub.exe.lzma 2.29 - lzma e $src/grldr $fs/usr/share/boot/grldr.lzma 2.30 - cp $src/bootlace.com $fs/usr/bin/bootlace 2.31 + lzma e $_pkg/usr/lib/grub/i386-pc/grub.exe \ 2.32 + $fs/usr/share/boot/grub.exe.lzma 2.33 + lzma e $_pkg/usr/lib/grub/i386-pc/grldr $fs/usr/share/boot/grldr.lzma 2.34 + cp $_pkg/usr/lib/grub/i386-pc/bootlace.com $fs/usr/bin/bootlace 2.35 chmod +x $fs/usr/bin/bootlace 2.36 + # Skip hmload.com badgrub.exe grldr.mbr 2.37 } 2.38 -