wok-stable diff locale-zh_TW/receipt @ rev 7344

Up: imagemagick to 6.6.5-9.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 21 18:24:44 2010 +0000 (2010-11-21)
parents d42b38d61b43
children acd94c1e1529
line diff
     1.1 --- a/locale-zh_TW/receipt	Tue Feb 02 22:17:52 2010 +0100
     1.2 +++ b/locale-zh_TW/receipt	Sun Nov 21 18:24:44 2010 +0000
     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.