wok rev 19491

Add locale-ca, locale-ca-extra.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Nov 13 00:57:35 2016 +0200 (2016-11-13)
parents 5b9877f5c784
children 868e10e34d1e
files locale-ca-extra/receipt locale-ca/receipt slitaz-i18n/stuff/locale-pack.conf
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/locale-ca-extra/receipt	Sun Nov 13 00:57:35 2016 +0200
     1.3 @@ -0,0 +1,23 @@
     1.4 +# SliTaz package receipt
     1.5 +
     1.6 +PACKAGE="locale-ca-extra"
     1.7 +VERSION="5.0"
     1.8 +CATEGORY="localization"
     1.9 +SHORT_DESC="Extra Catalan locale pack (with GIMP, MPlayer, Xine)"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL3"
    1.12 +WEB_SITE="http://www.slitaz.org/"
    1.13 +DEPENDS="locale-ca"
    1.14 +BUILD_DEPENDS="slitaz-i18n-extra"
    1.15 +WANTED="slitaz-i18n-extra"
    1.16 +
    1.17 +LOCALE="ca"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	. $WOK/slitaz-i18n-extra/stuff/locale-pack.functions
    1.23 +	. $WOK/slitaz-i18n-extra/stuff/locale-pack.conf
    1.24 +	mk_locale_dir
    1.25 +	get_extra_messages
    1.26 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/locale-ca/receipt	Sun Nov 13 00:57:35 2016 +0200
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt
     2.5 +
     2.6 +PACKAGE="locale-ca"
     2.7 +VERSION="5.0"
     2.8 +CATEGORY="localization"
     2.9 +SHORT_DESC="Catalan locale pack"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL3"
    2.12 +WEB_SITE="http://www.slitaz.org/"
    2.13 +HOST_ARCH="i486 arm"
    2.14 +
    2.15 +WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
    2.16 +DEPENDS="glibc-base"
    2.17 +
    2.18 +LOCALE="ca"
    2.19 +LOCALE_DEPENDS="it_IT" # for ca_IT
    2.20 +KBD=""
    2.21 +KB_FLAGS="AD:ad"
    2.22 +GCONV="CP1252 ISO8859-1 ISO8859-3 ISO8859-9 ISO8859-9E ISO8859-15"
    2.23 +
    2.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.25 +genpkg_rules()
    2.26 +{
    2.27 +	. $WOK/slitaz-i18n/stuff/locale-pack.functions
    2.28 +	. $WOK/slitaz-i18n/stuff/locale-pack.conf
    2.29 +	get_locale
    2.30 +}
    2.31 +
    2.32 +# Back to C if it's the last used locale.
    2.33 +post_remove()
    2.34 +{
    2.35 +	echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
    2.36 +}
     3.1 --- a/slitaz-i18n/stuff/locale-pack.conf	Sat Nov 12 22:33:44 2016 +0200
     3.2 +++ b/slitaz-i18n/stuff/locale-pack.conf	Sun Nov 13 00:57:35 2016 +0200
     3.3 @@ -10,6 +10,6 @@
     3.4  
     3.5  CORE_PKGS_ARM="acl attr dialog e2fsprogs jwm libgpg-error lynx nano"
     3.6  
     3.7 -# List of all locale pack (locale-xx)
     3.8 -LOCALE_PACK="ar cs da de el en es fi fr hr hu id is it ja nb nl nn pl pt pt_BR \
     3.9 -ro ru sl sv tr uk zh_CN zh_TW"
    3.10 +# List of all locale packages (locale-xx)
    3.11 +LOCALE_PACK="ar ca cs da de el en es fi fr hr hu id is it ja nb nl nn pl pt \
    3.12 +pt_BR ro ru sl sv tr uk zh_CN zh_TW"