wok-6.x view glibc/receipt @ rev 5532

nvidia: update depends
author Rohit Joshi <jozee@slitaz.org>
date Tue May 11 07:04:34 2010 -0400 (2010-05-11)
parents fbdaec46125a
children 8f591bab8b6f
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc"
4 VERSION="2.11.1"
5 CATEGORY="meta"
6 SHORT_DESC="The GNU C libraries. This package is used to compile the libc."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base glibc-locale glibc-dev"
9 BUILD_DEPENDS="slitaz-toolchain gawk perl"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/libc/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 #
16 # Build order: glibc, glibc-base, glibc-locale, glibc-dev.
17 #
18 compile_rules()
19 {
20 mkdir glibc-build
21 cd glibc-build
22 # Install in the build tree and then move all files
23 # to the source tree to keep $src and $_pkg for genpkg.
24 mkdir -p ../$PACKAGE-$VERSION/_pkg/etc
25 touch ../$PACKAGE-$VERSION/_pkg/etc/ld.so.conf
26 #echo "CFLAGS += -march=i486 -mtune=native -O3 -pipe" > configparms
27 ../$PACKAGE-$VERSION/configure \
28 --prefix=/usr \
29 --infodir=/usr/share/info \
30 --disable-profile \
31 --enable-add-ons \
32 --enable-kernel=2.6.18 \
33 --libexecdir=/usr/lib/glibc \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install_root=$(cd ../$PACKAGE-$VERSION ; pwd)/_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 LOCALE=""
43 mkdir -p $fs/var
44 for i in $(grep -l '^WANTED="glibc"' $WOK/*/receipt); do
45 tazwok genpkg $(basename $(dirname $i))
46 done
47 echo ""
48 echo "--> Install glibc-base, glibc-dev and cook busybox"
49 echo ""
50 }