wok diff glibc-base/receipt @ rev 528

Up: glibc (2.7)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 09 16:06:40 2008 +0200 (2008-04-09)
parents af18769d0676
children 01c15ddb603a
line diff
     1.1 --- a/glibc-base/receipt	Thu Mar 20 15:21:15 2008 +0100
     1.2 +++ b/glibc-base/receipt	Wed Apr 09 16:06:40 2008 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="glibc-base"
     1.7 -VERSION="2.3.6"
     1.8 +VERSION="2.7"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="GNU libc minimal libraries for SliTaz based system."
    1.11  WANTED="glibc"
    1.12 @@ -26,6 +26,19 @@
    1.13      do
    1.14      	cp -a ${_pkg}$file ${fs}$file
    1.15      done
    1.16 -    # Locale archive. Just a silly copy (idea ?).
    1.17 -    cp stuff/locale-archive $fs/usr/lib/locale
    1.18 +    
    1.19 +    # Gen locale files
    1.20 +	mkdir -p $fs/usr/lib/locale
    1.21 +	localedef -i fr_CH -c -f ISO-8859-1 $fs/usr/lib/locale/fr_CH
    1.22 +    localedef -i fr_FR -c -f ISO-8859-1 $fs/usr/lib/locale/fr_FR
    1.23  }
    1.24 +
    1.25 +# Call ldconfig and remove old glibc-2.3.6 files.
    1.26 +post_install()
    1.27 +{
    1.28 +	local root
    1.29 +	root=$1
    1.30 +	ldconfig
    1.31 +	rm -f $root/lib/*2.3.6.so
    1.32 +	rm -f $root/usr/lib/locale/locale-archive
    1.33 +}