wok-6.x view glibc/receipt @ rev 888

busybox/cpio: do not link syslinks
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 09 08:17:02 2008 +0000 (2008-06-09)
parents cf22fee17710
children 0e74237199bc
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/libc/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 LOCALE=""
14 # Rules to configure and make the package.
15 #
16 # Build order: glibc, glibc-base, glibc-locale, glibc-dev.
17 #
18 compile_rules()
19 {
20 mkdir glibc-build
21 cd glibc-build
22 echo "CFLAGS += -march=i486" > configparms
23 ../$PACKAGE-$VERSION/configure --prefix=/usr \
24 --infodir=/usr/share/info --disable-profile \
25 --enable-add-ons --enable-kernel=2.6.0 \
26 --libexecdir=/usr/lib/glibc $CONFIGURE_ARGS
27 make
28 # Install in the build tree and then move all files
29 # to the source tree to keep $src and $_pkg for genpkg.
30 mkdir -p _pkg/etc
31 touch _pkg/etc/ld.so.conf
32 make install_root=$PWD/_pkg install
33 mv _pkg ../$PACKAGE-$VERSION
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 #
38 # Just a dir for the meta-package.
39 #
40 genpkg_rules()
41 {
42 mkdir -p $fs/var
43 }