wok-current rev 1485
glibc: allow multiple cooking
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 04 22:13:55 2008 +0000 (2008-10-04) |
parents | 61bc01878920 |
children | f0e0e1fd3f1b |
files | glibc/receipt |
line diff
1.1 --- a/glibc/receipt Sat Oct 04 22:08:41 2008 +0000 1.2 +++ b/glibc/receipt Sat Oct 04 22:13:55 2008 +0000 1.3 @@ -20,6 +20,10 @@ 1.4 { 1.5 mkdir glibc-build 1.6 cd glibc-build 1.7 + # Install in the build tree and then move all files 1.8 + # to the source tree to keep $src and $_pkg for genpkg. 1.9 + mkdir -p _pkg/etc 1.10 + touch _pkg/etc/ld.so.conf 1.11 echo "CFLAGS += -march=i486" > configparms 1.12 ../$PACKAGE-$VERSION/configure \ 1.13 --prefix=/usr \ 1.14 @@ -28,14 +32,9 @@ 1.15 --enable-add-ons \ 1.16 --enable-kernel=2.6.0 \ 1.17 --libexecdir=/usr/lib/glibc \ 1.18 - $CONFIGURE_ARGS 1.19 - make 1.20 - # Install in the build tree and then move all files 1.21 - # to the source tree to keep $src and $_pkg for genpkg. 1.22 - mkdir -p _pkg/etc 1.23 - touch _pkg/etc/ld.so.conf 1.24 - make install_root=$PWD/_pkg install 1.25 - mv _pkg ../$PACKAGE-$VERSION 1.26 + $CONFIGURE_ARGS && 1.27 + make && 1.28 + make install_root=$(cd ../$PACKAGE-$VERSION ; pwd)/_pkg install 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg.