wok view glibc/receipt @ rev 1546

slitaz-polar-cursors: update BUILD_DEPENDS
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 11 17:42:03 2008 +0000 (2008-10-11)
parents 0e74237199bc
children a3065cacbb70
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc"
4 VERSION="2.7"
5 CATEGORY="development"
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"
13 LOCALE=""
15 # Rules to configure and make the package.
16 #
17 # Build order: glibc, glibc-base, glibc-locale, glibc-dev.
18 #
19 compile_rules()
20 {
21 mkdir glibc-build
22 cd glibc-build
23 # Install in the build tree and then move all files
24 # to the source tree to keep $src and $_pkg for genpkg.
25 mkdir -p _pkg/etc
26 touch _pkg/etc/ld.so.conf
27 echo "CFLAGS += -march=i486" > configparms
28 ../$PACKAGE-$VERSION/configure \
29 --prefix=/usr \
30 --infodir=/usr/share/info \
31 --disable-profile \
32 --enable-add-ons \
33 --enable-kernel=2.6.0 \
34 --libexecdir=/usr/lib/glibc \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install_root=$(cd ../$PACKAGE-$VERSION ; pwd)/_pkg install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 #
42 # Just a dir for the meta-package.
43 #
44 genpkg_rules()
45 {
46 mkdir -p $fs/var
47 for i in base locale dev
48 do
49 tazwok genpkg glibc-$i
50 done
51 }