wok rev 10096
gfortran: fix path to gcc lib
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 19:15:10 2011 +0200 (2011-05-20) |
parents | dcd8cc7f161c |
children | 77cd6a3007d1 |
files | gfortran/receipt |
line diff
1.1 --- a/gfortran/receipt Fri May 20 07:30:07 2011 +0000 1.2 +++ b/gfortran/receipt Fri May 20 19:15:10 2011 +0200 1.3 @@ -12,11 +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/gcc/i486-pc-linux-gnu/$VERSION $fs/usr/bin 1.8 + mkdir -p $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION $fs/usr/bin 1.9 cp -a $_pkg/usr/bin/*gfortran $fs/usr/bin 1.10 cp -a $_pkg/usr/lib/libgfortran*a $fs/usr/lib 1.11 - cp -a $_pkg/usr/lib/gcc/i486-pc-linux-gnu/$VERSION/f* \ 1.12 - $fs/usr/lib/gcc/i486-pc-linux-gnu/$VERSION 1.13 - cp -a $_pkg/usr/lib/gcc/i486-pc-linux-gnu/$VERSION/libgfortran* \ 1.14 - $fs/usr/lib/gcc/i468-pc-linux-gnu/$VERSION 1.15 + cp -a $_pkg/usr/lib/gcc/$HOST_SYSTEM/$VERSION/f* \ 1.16 + $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION 1.17 + cp -a $_pkg/usr/lib/gcc/$HOST_SYSTEM/$VERSION/libgfortran* \ 1.18 + $fs/usr/lib/gcc/$HOST_SYSTEM/$VERSION 1.19 }