wok-stable rev 10434

grub4dos: fix path to lib (no more i386-pc but i386-slitaz)
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 00:43:57 2011 +0200 (2011-05-25)
parents b3a5a76246a3
children 8c5424ec24b1
files grub4dos/receipt
line diff
     1.1 --- a/grub4dos/receipt	Wed May 25 00:25:23 2011 +0200
     1.2 +++ b/grub4dos/receipt	Wed May 25 00:43:57 2011 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION-src.zip"
     1.5  WEB_SITE="http://grub4dos.sourceforge.net/"
     1.6  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     1.7 +
     1.8  BUILD_DEPENDS="lzma"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11 @@ -19,23 +20,23 @@
    1.12  		patch -p1 < $i
    1.13  		touch $(basename $i)
    1.14  	done
    1.15 -	sh ./configure --prefix=/usr --infodir=/usr/share/info \
    1.16 -	--enable-preset-menu=$stuff/menu.lst \
    1.17 -	--without-curses --mandir=/usr/share/man \
    1.18 +	sh ./configure \
    1.19 +		--enable-preset-menu=$stuff/menu.lst \
    1.20 +		--without-curses \
    1.21  	$CONFIGURE_ARGS &&
    1.22 -	make &&
    1.23 -	make DESTDIR=$PWD/_pkg install
    1.24 +	make && make install
    1.25  }
    1.26  
    1.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.28  genpkg_rules()
    1.29  {
    1.30  	mkdir -p $fs/usr/share/boot \
    1.31 -		$fs/usr/bin 
    1.32 -	lzma e $_pkg/usr/lib/grub/i386-pc/grub.exe \
    1.33 -		$fs/usr/share/boot/grub.exe.lzma
    1.34 -	lzma e $_pkg/usr/lib/grub/i386-pc/grldr $fs/usr/share/boot/grldr.lzma
    1.35 -	cp $_pkg/usr/lib/grub/i386-pc/bootlace.com $fs/usr/bin/bootlace
    1.36 +		$fs/usr/bin
    1.37 +	
    1.38 +	lzma e $_pkg/usr/lib/grub/*/grub.exe $fs/usr/share/boot/grub.exe.lzma
    1.39 +	lzma e $_pkg/usr/lib/grub/*/grldr $fs/usr/share/boot/grldr.lzma
    1.40 +	
    1.41 +	cp $_pkg/usr/lib/grub/*/bootlace.com $fs/usr/bin/bootlace
    1.42  	chmod +x $fs/usr/bin/bootlace
    1.43  	# Skip hmload.com badgrub.exe grldr.mbr
    1.44  }