wok-6.x view glibc/receipt @ rev 179
Xpad receipt cleaned (generic files are automaticly copied now)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 02 13:25:56 2008 +0100 (2008-02-02) |
parents | |
children | cf22fee17710 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibc"
4 VERSION="2.3.6"
5 CATEGORY="extra"
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 }