wok-current diff glibc/receipt @ rev 1551
bluefish: add /usr/share/mime-info
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 11 20:45:16 2008 +0000 (2008-10-11) |
parents | 0e74237199bc |
children | a3065cacbb70 |
line diff
1.1 --- a/glibc/receipt Sun Jul 27 00:57:59 2008 +0200 1.2 +++ b/glibc/receipt Sat Oct 11 20:45:16 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.