wok-4.x annotate glibc/receipt @ rev 9

Toolchain : binutils, glibc, gcc, make
author Christophe Lincoln <pankso@slitaz.org>
date Fri Dec 14 21:14:40 2007 +0100 (2007-12-14)
parents
children cf22fee17710
rev   line source
pankso@9 1 # SliTaz package receipt.
pankso@9 2
pankso@9 3 PACKAGE="glibc"
pankso@9 4 VERSION="2.3.6"
pankso@9 5 CATEGORY="extra"
pankso@9 6 SHORT_DESC="The GNU C libraries. This package is used to compile the libc."
pankso@9 7 MAINTAINER="pankso@slitaz.org"
pankso@9 8 DEPENDS="glibc-base glibc-dev"
pankso@9 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@9 10 WEB_SITE="http://www.gnu.org/software/libc/"
pankso@9 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@9 12
pankso@9 13 # Rules to configure and make the package.
pankso@9 14 compile_rules()
pankso@9 15 {
pankso@9 16 mkdir glibc-build
pankso@9 17 cd glibc-build
pankso@9 18 ../$PACKAGE-$VERSION/configure --prefix=/usr \
pankso@9 19 --infodir=/usr/share/info --disable-profile \
pankso@9 20 --enable-add-ons --enable-kernel=2.6.0 \
pankso@9 21 --libexecdir=/usr/lib/glibc $CONFIGURE_ARGS
pankso@9 22 make
pankso@9 23 # Install in the build tree and then move all files
pankso@9 24 # to the source tree to keep $src and $_pkg for genpkg.
pankso@9 25 mkdir -p _pkg/etc
pankso@9 26 touch _pkg/etc/ld.so.conf
pankso@9 27 make install_root=$PWD/_pkg install
pankso@9 28 mv _pkg ../$PACKAGE-$VERSION
pankso@9 29 }
pankso@9 30
pankso@9 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9 32 #
pankso@9 33 # Just a dir for the meta-package.
pankso@9 34 #
pankso@9 35 genpkg_rules()
pankso@9 36 {
pankso@9 37 mkdir -p $fs/var
pankso@9 38 }