wok-4.x rev 1153

glibc: build deps and genpkg all splited packages
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jul 27 00:57:59 2008 +0200 (2008-07-27)
parents dd2aa8326cbc
children d442045183a5
files glibc/receipt
line diff
     1.1 --- a/glibc/receipt	Sat Jul 26 17:57:04 2008 +0000
     1.2 +++ b/glibc/receipt	Sun Jul 27 00:57:59 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  }