wok diff glibc/receipt @ rev 1434

Fix: Missing deps to build rpm4.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Oct 01 00:24:40 2008 +0200 (2008-10-01)
parents c066c4f6872f
children b1b0dea92d3d
line diff
     1.1 --- a/glibc/receipt	Wed Apr 09 16:06:40 2008 +0200
     1.2 +++ b/glibc/receipt	Wed Oct 01 00:24:40 2008 +0200
     1.3 @@ -6,6 +6,7 @@
     1.4  SHORT_DESC="The GNU C libraries. This package is used to compile the libc."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  DEPENDS="glibc-base glibc-locale glibc-dev"
     1.7 +BUILD_DEPENDS="slitaz-toolchain gawk perl"
     1.8  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="http://www.gnu.org/software/libc/"
    1.10  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.11 @@ -20,10 +21,14 @@
    1.12  	mkdir glibc-build
    1.13  	cd glibc-build
    1.14  	echo "CFLAGS += -march=i486" > configparms
    1.15 -	../$PACKAGE-$VERSION/configure --prefix=/usr \
    1.16 -	--infodir=/usr/share/info --disable-profile \
    1.17 -	--enable-add-ons --enable-kernel=2.6.0 \
    1.18 -	--libexecdir=/usr/lib/glibc $CONFIGURE_ARGS
    1.19 +	../$PACKAGE-$VERSION/configure \
    1.20 +		--prefix=/usr \
    1.21 +		--infodir=/usr/share/info \
    1.22 +		--disable-profile \
    1.23 +		--enable-add-ons \
    1.24 +		--enable-kernel=2.6.0 \
    1.25 +		--libexecdir=/usr/lib/glibc \
    1.26 +		$CONFIGURE_ARGS
    1.27  	make
    1.28  	# Install in the build tree and then move all files
    1.29  	# to the source tree to keep $src and $_pkg for genpkg.
    1.30 @@ -40,4 +45,8 @@
    1.31  genpkg_rules()
    1.32  {
    1.33  	mkdir -p $fs/var
    1.34 +	for i in base locale dev
    1.35 +	do
    1.36 +		tazwok genpkg glibc-$i
    1.37 +	done
    1.38  }