wok-6.x rev 11362

compat: grub4dos-linux, allow the use of various host triplet
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Dec 08 11:39:38 2011 +0100 (2011-12-08)
parents bb8c974d7ed8
children 3141a549cd9a
files grub4dos-linux/receipt
line diff
     1.1 --- a/grub4dos-linux/receipt	Wed Dec 07 16:57:17 2011 +0100
     1.2 +++ b/grub4dos-linux/receipt	Thu Dec 08 11:39:38 2011 +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