wok-4.x view glibc/receipt @ rev 2023
Up: edje (0.9.9.050) - Snapshot 2008-09-25
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Jan 08 22:34:22 2009 +0100 (2009-01-08) |
parents | b1b0dea92d3d |
children | 4a057e1fc620 |
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 ../$PACKAGE-$VERSION/_pkg/etc
26 touch ../$PACKAGE-$VERSION/_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 }