wok-current rev 2701

Up: glibc (2.9)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 22 18:22:46 2009 +0200 (2009-04-22)
parents 1a75c11a137f
children d2be5bd5d83e
files glibc-base/receipt glibc-base/stuff/wanted-files.list glibc-dev/receipt glibc-extra-samba/receipt glibc-locale/receipt glibc/receipt
line diff
     1.1 --- a/glibc-base/receipt	Wed Apr 22 18:21:48 2009 +0200
     1.2 +++ b/glibc-base/receipt	Wed Apr 22 18:22:46 2009 +0200
     1.3 @@ -1,10 +1,10 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="glibc-base"
     1.7 -VERSION="2.7"
     1.8 +VERSION="2.9"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="GNU libc minimal libraries for SliTaz based system."
    1.11 -WEB_SITE="http://gcc.gnu.org/"
    1.12 +WEB_SITE="http://www.gnu.org/software/libc/"
    1.13  WANTED="glibc"
    1.14  MAINTAINER="pankso@slitaz.org"
    1.15  
    1.16 @@ -27,19 +27,21 @@
    1.17      do
    1.18      	cp -a ${_pkg}$file ${fs}$file
    1.19      done
    1.20 -    
    1.21      # Gen locale files (see also locale-pack).
    1.22 -    #
    1.23  	mkdir -p $fs/usr/lib/locale
    1.24  	localedef -i fr_FR -c -f ISO-8859-1 $fs/usr/lib/locale/fr_FR
    1.25  }
    1.26  
    1.27 -# Call ldconfig and remove old glibc-2.3.6 files.
    1.28 +# Call ldconfig and remove old glibc-2.3.6 (slitaz 1.0) and glibc-2.7
    1.29 +# files.
    1.30 +pre_install()
    1.31 +{
    1.32 +	rm -f $1/usr/lib/locale/locale-archive
    1.33 +}
    1.34 +
    1.35  post_install()
    1.36  {
    1.37  	local root
    1.38 -	root=$1
    1.39 -	ldconfig
    1.40 -	rm -f $root/lib/*2.3.6.so
    1.41 -	rm -f $root/usr/lib/locale/locale-archive
    1.42 +	rm -f $1/lib/*2.3.6.so
    1.43 +	rm -f $1/lib/*2.7.so
    1.44  }
     2.1 --- a/glibc-base/stuff/wanted-files.list	Wed Apr 22 18:21:48 2009 +0200
     2.2 +++ b/glibc-base/stuff/wanted-files.list	Wed Apr 22 18:22:46 2009 +0200
     2.3 @@ -1,17 +1,17 @@
     2.4 -/lib/libutil-2.7.so
     2.5 -/lib/libnss_dns-2.7.so
     2.6 -/lib/libnsl-2.7.so
     2.7 -/lib/libanl-2.7.so
     2.8 -/lib/libm-2.7.so
     2.9 -/lib/libpthread-2.7.so
    2.10 -/lib/libnss_compat-2.7.so
    2.11 -/lib/libc-2.7.so
    2.12 -/lib/librt-2.7.so
    2.13 -/lib/libcrypt-2.7.so
    2.14 -/lib/ld-2.7.so
    2.15 -/lib/libresolv-2.7.so
    2.16 -/lib/libnss_files-2.7.so
    2.17 -/lib/libdl-2.7.so
    2.18 +/lib/libutil-2.9.so
    2.19 +/lib/libnss_dns-2.9.so
    2.20 +/lib/libnsl-2.9.so
    2.21 +/lib/libanl-2.9.so
    2.22 +/lib/libm-2.9.so
    2.23 +/lib/libpthread-2.9.so
    2.24 +/lib/libnss_compat-2.9.so
    2.25 +/lib/libc-2.9.so
    2.26 +/lib/librt-2.9.so
    2.27 +/lib/libcrypt-2.9.so
    2.28 +/lib/ld-2.9.so
    2.29 +/lib/libresolv-2.9.so
    2.30 +/lib/libnss_files-2.9.so
    2.31 +/lib/libdl-2.9.so
    2.32  
    2.33  /usr/lib/gconv/UNICODE.so
    2.34  /usr/lib/gconv/gconv-modules
     3.1 --- a/glibc-dev/receipt	Wed Apr 22 18:21:48 2009 +0200
     3.2 +++ b/glibc-dev/receipt	Wed Apr 22 18:22:46 2009 +0200
     3.3 @@ -1,7 +1,7 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="glibc-dev"
     3.7 -VERSION="2.7"
     3.8 +VERSION="2.9"
     3.9  CATEGORY="development"
    3.10  SHORT_DESC="The GNU C libraries devel files (Part of SliTaz toolchain)."
    3.11  MAINTAINER="pankso@slitaz.org"
     4.1 --- a/glibc-extra-samba/receipt	Wed Apr 22 18:21:48 2009 +0200
     4.2 +++ b/glibc-extra-samba/receipt	Wed Apr 22 18:22:46 2009 +0200
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="glibc-extra-samba"
     4.7 -VERSION="2.7"
     4.8 +VERSION="2.9"
     4.9  CATEGORY="base-system"
    4.10  SHORT_DESC="GNU libc extra gconv modules for samba."
    4.11  WEB_SITE="http://gcc.gnu.org/"
     5.1 --- a/glibc-locale/receipt	Wed Apr 22 18:21:48 2009 +0200
     5.2 +++ b/glibc-locale/receipt	Wed Apr 22 18:22:46 2009 +0200
     5.3 @@ -1,19 +1,18 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="glibc-locale"
     5.7 -VERSION="2.7"
     5.8 +VERSION="2.9"
     5.9  CATEGORY="system-tools"
    5.10 -SHORT_DESC="The GNU C libraries locale files (see also locale-*)."
    5.11 +SHORT_DESC="The GNU C libraries locale files and utilities (see also locale-*)."
    5.12  MAINTAINER="pankso@slitaz.org"
    5.13  DEPENDS="glibc-base"
    5.14  WANTED="glibc"
    5.15  WEB_SITE="http://www.gnu.org/software/libc/"
    5.16  SOURCES="glibc"
    5.17  
    5.18 +LOCALE_PACK="de cs es fr ru id it pt_BR hu"
    5.19 +
    5.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.21 -#
    5.22 -# This package provide glibc locale files and utility.
    5.23 -#
    5.24  genpkg_rules()
    5.25  {
    5.26  	mkdir -p $fs/usr/share $fs/usr/lib $fs/usr/bin
    5.27 @@ -37,7 +36,7 @@
    5.28  	status
    5.29  
    5.30  	# Rm files provided by locale-pack.
    5.31 -	for i in de cs es fr ru id it pt_BR
    5.32 +	for i in $LOCALE_PACK
    5.33  	do
    5.34  		echo -n "* Removing locale: $i"
    5.35  		rm -rf $fs/usr/share/locale/$i
     6.1 --- a/glibc/receipt	Wed Apr 22 18:21:48 2009 +0200
     6.2 +++ b/glibc/receipt	Wed Apr 22 18:22:46 2009 +0200
     6.3 @@ -1,7 +1,7 @@
     6.4  # SliTaz package receipt.
     6.5  
     6.6  PACKAGE="glibc"
     6.7 -VERSION="2.7"
     6.8 +VERSION="2.9"
     6.9  CATEGORY="development"
    6.10  SHORT_DESC="The GNU C libraries. This package is used to compile the libc."
    6.11  MAINTAINER="pankso@slitaz.org"
    6.12 @@ -10,7 +10,6 @@
    6.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    6.14  WEB_SITE="http://www.gnu.org/software/libc/"
    6.15  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    6.16 -LOCALE=""
    6.17  
    6.18  # Rules to configure and make the package.
    6.19  #
    6.20 @@ -24,7 +23,7 @@
    6.21  	# to the source tree to keep $src and $_pkg for genpkg.
    6.22  	mkdir -p ../$PACKAGE-$VERSION/_pkg/etc
    6.23  	touch ../$PACKAGE-$VERSION/_pkg/etc/ld.so.conf
    6.24 -	echo "CFLAGS += -march=i486" > configparms
    6.25 +	echo "CFLAGS += -march=i486 -mtune=native" > configparms
    6.26  	../$PACKAGE-$VERSION/configure \
    6.27  		--prefix=/usr \
    6.28  		--infodir=/usr/share/info \
    6.29 @@ -38,14 +37,15 @@
    6.30  }
    6.31  
    6.32  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.33 -#
    6.34 -# Just a dir for the meta-package.
    6.35 -#
    6.36  genpkg_rules()
    6.37  {
    6.38 +	LOCALE=""
    6.39  	mkdir -p $fs/var
    6.40  	for i in base locale dev
    6.41  	do
    6.42  		tazwok genpkg glibc-$i
    6.43  	done
    6.44 +	echo ""
    6.45 +	echo "--> Install glibc-base and cook busybox"
    6.46 +	echo ""
    6.47  }