wok diff grub4dos-linux/receipt @ rev 11576

nvclock: autoreconf before build
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:19 2012 +0100 (2012-01-02)
parents 5e3fa1dc4048
children d1c17bd2c2bc
line diff
     1.1 --- a/grub4dos-linux/receipt	Thu Jul 07 00:28:49 2011 +0200
     1.2 +++ b/grub4dos-linux/receipt	Mon Jan 02 23:06:19 2012 +0100
     1.3 @@ -12,10 +12,11 @@
     1.4  # Rules to gen a SliTaz package suitable for Tazpkg.
     1.5  genpkg_rules()
     1.6  {
     1.7 -	mkdir -p $fs/usr/lib/grub/i386-slitaz
     1.8 +	libarch=$(basename `ls $_pkg/usr/lib/grub`)
     1.9 +	mkdir -p $fs/usr/lib/grub/$libarch
    1.10  	cp -a $_pkg/usr/bin $fs/usr
    1.11  	cp -a $_pkg/usr/sbin $fs/usr
    1.12 -	cp -a  $_pkg/usr/lib/grub/i386-slitaz/*stage* \
    1.13 -		$fs/usr/lib/grub/i386-slitaz
    1.14 +	cp -a  $_pkg/usr/lib/grub/$libarch/*stage* \
    1.15 +		$fs/usr/lib/grub/$libarch
    1.16  }
    1.17