wok-current rev 4885
Fix locale-zh_TW
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 06 00:09:26 2010 +0100 (2010-02-06) |
parents | 64cf592b6880 |
children | b03684d53662 |
files | locale-zh_TW/receipt |
line diff
1.1 --- a/locale-zh_TW/receipt Fri Feb 05 23:13:39 2010 +0100 1.2 +++ b/locale-zh_TW/receipt Sat Feb 06 00:09:26 2010 +0100 1.3 @@ -16,6 +16,7 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.8 # Ensure packages are built. 1.9 for pkg in $CORE_PKGS 1.10 do 1.11 @@ -27,6 +28,8 @@ 1.12 # Genereted locale files are in /usr/lib/locale. 1.13 genpkg_rules() 1.14 { 1.15 + . $WOK/slitaz-i18n/stuff/locale-pack.functions 1.16 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.17 PKG_NAME="$PACKAGE" 1.18 PKG_VERS="$VERSION" 1.19 mk_locale_dir 1.20 @@ -34,7 +37,8 @@ 1.21 get_core_messages 1.22 PACKAGE="$PKG_NAME" 1.23 VERSION="$PKG_VERS" 1.24 - localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF.UTF-8 1.25 + # Pregenerate locale file si we dont need glibc-locale as dep. 1.26 + localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF 1.27 } 1.28 1.29 # Back to C if it's the last used locale.