wok-6.x rev 9023
gcc3: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 21:39:12 2011 +0100 (2011-03-03) |
parents | e77aaed10422 |
children | c15ece372753 |
files | gcc3/receipt |
line diff
1.1 --- a/gcc3/receipt Thu Mar 03 21:37:04 2011 +0100 1.2 +++ b/gcc3/receipt Thu Mar 03 21:39:12 2011 +0100 1.3 @@ -25,13 +25,13 @@ 1.4 make -j 4 bootstrap 1.5 # Make install in the source tree to help creating derivated pkgs 1.6 # and keep $_pkg variable set for genpkg. 1.7 - make -j 4 DESTDIR=$src/_pkg install 1.8 + make -j 4 install 1.9 } 1.10 1.11 # Rules to gen a SliTaz package suitable for Tazpkg. 1.12 genpkg_rules() 1.13 { 1.14 mkdir -p $fs/usr 1.15 - cp -a $src/_pkg/usr/bin $src/_pkg/usr/lib $src/_pkg/usr/include $fs/usr 1.16 + cp -a $_pkg/usr/bin $_pkg/usr/lib $_pkg/usr/include $fs/usr 1.17 rm $fs/usr/lib/lib* 1.18 }