wok-current diff glibc/receipt @ rev 96
Set BUILD_DEPENDS for fontconfig
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 04 14:26:12 2008 +0100 (2008-01-04) |
parents | |
children | cf22fee17710 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/glibc/receipt Fri Jan 04 14:26:12 2008 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="glibc" 1.7 +VERSION="2.3.6" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="The GNU C libraries. This package is used to compile the libc." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="glibc-base glibc-dev" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.gnu.org/software/libc/" 1.14 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + mkdir glibc-build 1.20 + cd glibc-build 1.21 + ../$PACKAGE-$VERSION/configure --prefix=/usr \ 1.22 + --infodir=/usr/share/info --disable-profile \ 1.23 + --enable-add-ons --enable-kernel=2.6.0 \ 1.24 + --libexecdir=/usr/lib/glibc $CONFIGURE_ARGS 1.25 + make 1.26 + # Install in the build tree and then move all files 1.27 + # to the source tree to keep $src and $_pkg for genpkg. 1.28 + mkdir -p _pkg/etc 1.29 + touch _pkg/etc/ld.so.conf 1.30 + make install_root=$PWD/_pkg install 1.31 + mv _pkg ../$PACKAGE-$VERSION 1.32 +} 1.33 + 1.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.35 +# 1.36 +# Just a dir for the meta-package. 1.37 +# 1.38 +genpkg_rules() 1.39 +{ 1.40 + mkdir -p $fs/var 1.41 +}