# HG changeset patch # User Christophe Lincoln # Date 1217113079 -7200 # Node ID 0e74237199bc4ced9baeaa90e9e704cfd4763fab # Parent dd2aa8326cbc2f3d819957613af4de0df5506a7c glibc: build deps and genpkg all splited packages diff -r dd2aa8326cbc -r 0e74237199bc glibc/receipt --- a/glibc/receipt Sat Jul 26 17:57:04 2008 +0000 +++ b/glibc/receipt Sun Jul 27 00:57:59 2008 +0200 @@ -6,6 +6,7 @@ SHORT_DESC="The GNU C libraries. This package is used to compile the libc." MAINTAINER="pankso@slitaz.org" DEPENDS="glibc-base glibc-locale glibc-dev" +BUILD_DEPENDS="slitaz-toolchain gawk perl" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.gnu.org/software/libc/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" @@ -20,10 +21,14 @@ mkdir glibc-build cd glibc-build echo "CFLAGS += -march=i486" > configparms - ../$PACKAGE-$VERSION/configure --prefix=/usr \ - --infodir=/usr/share/info --disable-profile \ - --enable-add-ons --enable-kernel=2.6.0 \ - --libexecdir=/usr/lib/glibc $CONFIGURE_ARGS + ../$PACKAGE-$VERSION/configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --disable-profile \ + --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. @@ -40,4 +45,8 @@ genpkg_rules() { mkdir -p $fs/var + for i in base locale dev + do + tazwok genpkg glibc-$i + done }