locale-zh_CN-2.0 receipt for Slitaz-Cooking-20101104

[ Thread Index | Date Index | More lists.tuxfamily.org/slitaz Archives ]


# SliTaz package receipt.

PACKAGE="locale-zh_CN"
VERSION="2.0"
CATEGORY="base-system"
SHORT_DESC="Only provide Chinese locale"
MAINTAINER="laborer@xxxxxxx create,lufeng369@xxxxxxxxx modify"
WEB_SITE="http://slitaz-cn.5d6d.com"
#DEPENDS=""
BUILD_DEPENDS="glibc-locale"

genpkg_rules()
{
    GCONV_MODULES="
        BIG5.so             GBBIG5.so           GBGBK.so
        UTF-32.so           GB18030.so        EUC-CN.so
        GBK.so              UTF-7.so        libGB.so"

    mkdir -p $fs/usr/lib/locale
    mkdir -p $fs/usr/bin
    mkdir -p $fs/usr/lib/gconv
    mkdir -p $fs/usr/share/X11/locale

    localedef -v -c -i zh_CN -f UTF-8 $fs/usr/lib/locale/zh_CN.UTF-8

    cp /usr/bin/iconv $fs/usr/bin
    for i in $GCONV_MODULES; do
        cp /usr/lib/gconv/$i $fs/usr/lib/gconv
    done
    
    cp -a /usr/share/X11/locale/en_US..UTF-8 $fs/usr/share/X11/locale/zh_CN.UTF-8
}



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/