wok-stable diff glibc-base/receipt @ rev 4855

glibc-base and locale pack: switch to UTF-8
author Christophe Lincoln <pankso@slitaz.org>
date Tue Feb 02 22:17:52 2010 +0100 (2010-02-02)
parents d5991fc2b1b3
children 2c46ae2cb20c
line diff
     1.1 --- a/glibc-base/receipt	Sun Jun 28 23:28:21 2009 +0200
     1.2 +++ b/glibc-base/receipt	Tue Feb 02 22:17:52 2010 +0100
     1.3 @@ -3,11 +3,13 @@
     1.4  PACKAGE="glibc-base"
     1.5  VERSION="2.10.1"
     1.6  CATEGORY="base-system"
     1.7 -SHORT_DESC="GNU libc minimal libraries for SliTaz based system."
     1.8 +SHORT_DESC="GNU libc minimal libraries and UTF-8 support for SliTaz."
     1.9  WEB_SITE="http://www.gnu.org/software/libc/"
    1.10  WANTED="glibc"
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  
    1.13 +DEFAULT_LOCALE="de_DE en_US en_GB es_ES fr_FR fr_CH pt_BR ru_RU"
    1.14 +
    1.15  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.16  #
    1.17  # Full glibc is very long to compile (see package glibc for more
    1.18 @@ -27,6 +29,11 @@
    1.19      do
    1.20      	cp -a ${_pkg}$file ${fs}$file
    1.21      done
    1.22 +    # i18n
    1.23 +    for i in $DEFAULT_LOCALE
    1.24 +	do
    1.25 +		cp $_pkg/usr/share/i18n/locales/$i $fs/usr/share/i18n/locales
    1.26 +	done
    1.27  }
    1.28  
    1.29  # Call ldconfig and remove old glibc-2.3.6 (slitaz 1.0) and glibc-2.7