wok-6.x annotate glibc/receipt @ rev 761

Up: slitaz-tools (2.2) with desktopbox and improved netbox
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 09 17:57:15 2008 +0200 (2008-05-09)
parents cf22fee17710
children 0e74237199bc
rev   line source
pankso@9 1 # SliTaz package receipt.
pankso@9 2
pankso@9 3 PACKAGE="glibc"
pankso@528 4 VERSION="2.7"
pankso@211 5 CATEGORY="development"
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@528 8 DEPENDS="glibc-base glibc-locale 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@528 12 LOCALE=""
pankso@9 13
pankso@9 14 # Rules to configure and make the package.
pankso@528 15 #
pankso@528 16 # Build order: glibc, glibc-base, glibc-locale, glibc-dev.
pankso@528 17 #
pankso@9 18 compile_rules()
pankso@9 19 {
pankso@9 20 mkdir glibc-build
pankso@9 21 cd glibc-build
pankso@528 22 echo "CFLAGS += -march=i486" > configparms
pankso@9 23 ../$PACKAGE-$VERSION/configure --prefix=/usr \
pankso@9 24 --infodir=/usr/share/info --disable-profile \
pankso@9 25 --enable-add-ons --enable-kernel=2.6.0 \
pankso@9 26 --libexecdir=/usr/lib/glibc $CONFIGURE_ARGS
pankso@9 27 make
pankso@9 28 # Install in the build tree and then move all files
pankso@9 29 # to the source tree to keep $src and $_pkg for genpkg.
pankso@9 30 mkdir -p _pkg/etc
pankso@9 31 touch _pkg/etc/ld.so.conf
pankso@9 32 make install_root=$PWD/_pkg install
pankso@9 33 mv _pkg ../$PACKAGE-$VERSION
pankso@9 34 }
pankso@9 35
pankso@9 36 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@9 37 #
pankso@9 38 # Just a dir for the meta-package.
pankso@9 39 #
pankso@9 40 genpkg_rules()
pankso@9 41 {
pankso@9 42 mkdir -p $fs/var
pankso@9 43 }