wok view glibc/receipt @ rev 217
UP: tazwok (1.4)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Feb 14 19:35:59 2008 +0100 (2008-02-14) |
parents | 9a12d7729c6f |
children | c066c4f6872f |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc"
4 VERSION="2.3.6"
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-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/libc/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mkdir glibc-build
17 cd glibc-build
18 ../$PACKAGE-$VERSION/configure --prefix=/usr \
19 --infodir=/usr/share/info --disable-profile \
20 --enable-add-ons --enable-kernel=2.6.0 \
21 --libexecdir=/usr/lib/glibc $CONFIGURE_ARGS
22 make
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 make install_root=$PWD/_pkg install
28 mv _pkg ../$PACKAGE-$VERSION
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 #
33 # Just a dir for the meta-package.
34 #
35 genpkg_rules()
36 {
37 mkdir -p $fs/var
38 }