wok-stable diff grub4dos/receipt @ rev 11301

Up: xvid (1.3.2)
author Alexander Medvedev <devl547@gmail.com>
date Sat Nov 12 22:18:38 2011 +0000 (2011-11-12)
parents d1768332cee0
children a7288c2607d3
line diff
     1.1 --- a/grub4dos/receipt	Sun May 08 09:01:58 2011 +0000
     1.2 +++ b/grub4dos/receipt	Sat Nov 12 22:18:38 2011 +0000
     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  }