wok-6.x diff locale-zh_CN/receipt @ rev 14636
Xorg marathon, Day 2. xorg-trapproto: fix receipt; xorg-libXau(-dev): up 1.0.8; xorg-xtrans: prettify receipt; xorg-libX11: move X11 locales to locale-*; slitaz-i18n: add function get_x11_locale; locale-el: add receipt; locale-pt_BR locale-ru locale-zh_CN locale-zh_TW: add here X11 locales.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 12:09:39 2013 +0000 (2013-06-02) |
parents | ce3cb07f3afd |
children | 874b0d62ff7e |
line diff
1.1 --- a/locale-zh_CN/receipt Fri Jun 10 02:24:41 2011 +0800 1.2 +++ b/locale-zh_CN/receipt Sun Jun 02 12:09:39 2013 +0000 1.3 @@ -5,9 +5,11 @@ 1.4 CATEGORY="system-tools" 1.5 SHORT_DESC="Chinese Simplified locale pack." 1.6 MAINTAINER="lufeng369@slitaz.org" 1.7 +WEB_SITE="http://www.slitaz.org/" 1.8 + 1.9 +WANTED="slitaz-i18n xorg-libX11" 1.10 DEPENDS="glibc-base wqy-microhei" 1.11 -BUILD_DEPENDS="glibc-locale xorg-libX11" 1.12 -WEB_SITE="http://www.slitaz.org/" 1.13 +BUILD_DEPENDS="glibc-locale xorg-libX11 slitaz-i18n" 1.14 1.15 LOCALE="zh_CN" 1.16 LOCALEDEF="zh_CN" 1.17 @@ -17,6 +19,9 @@ 1.18 # Genereted locale files are in /usr/lib/locale. 1.19 genpkg_rules() 1.20 { 1.21 + . $WOK/slitaz-i18n/stuff/locale-pack.functions 1.22 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.23 + 1.24 mkdir -p $fs/usr/share/locale/$LOCALE $fs/usr/lib/locale 1.25 localedef -i $LOCALEDEF -c -f $CHARMAP $fs/usr/lib/locale/$LOCALEDEF.UTF-8 1.26 1.27 @@ -38,6 +43,8 @@ 1.28 $fs/usr/share/posix/zoneinfo/Asia/Shanghai -m 644 1.29 install -D /usr/share/zoneinfo/right/Asia/Shanghai \ 1.30 $fs/usr/share/right/zoneinfo/Asia/Shanghai -m 644 1.31 + 1.32 + get_x11_locale 1.33 } 1.34 1.35 post_install()