# HG changeset patch # User Pascal Bellard # Date 1223158435 0 # Node ID b1b0dea92d3dec63777aceaa3a325db0847f44d1 # Parent 61bc01878920493982b052dcd8799f1e2c3fdf0e glibc: allow multiple cooking diff -r 61bc01878920 -r b1b0dea92d3d glibc/receipt --- a/glibc/receipt Sat Oct 04 22:08:41 2008 +0000 +++ b/glibc/receipt Sat Oct 04 22:13:55 2008 +0000 @@ -20,6 +20,10 @@ { mkdir glibc-build cd glibc-build + # Install in the build tree and then move all files + # to the source tree to keep $src and $_pkg for genpkg. + mkdir -p _pkg/etc + touch _pkg/etc/ld.so.conf echo "CFLAGS += -march=i486" > configparms ../$PACKAGE-$VERSION/configure \ --prefix=/usr \ @@ -28,14 +32,9 @@ --enable-add-ons \ --enable-kernel=2.6.0 \ --libexecdir=/usr/lib/glibc \ - $CONFIGURE_ARGS - make - # Install in the build tree and then move all files - # to the source tree to keep $src and $_pkg for genpkg. - mkdir -p _pkg/etc - touch _pkg/etc/ld.so.conf - make install_root=$PWD/_pkg install - mv _pkg ../$PACKAGE-$VERSION + $CONFIGURE_ARGS && + make && + make install_root=$(cd ../$PACKAGE-$VERSION ; pwd)/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg.