# SliTaz package receipt PACKAGE="locale-ja" VERSION="5.0" CATEGORY="localization" SHORT_DESC="Japanese locale pack" MAINTAINER="al.bobylev@gmail.com" LICENSE="GPL3" WEB_SITE="http://www.slitaz.org/" HOST_ARCH="i486 arm" WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd" DEPENDS="glibc-base" LOCALE="ja" LOCALE_DEPENDS="translit_cjk_variants" KBD="jp106" KB_FLAGS="JP:jp US:us" GCONV="EUC-JP EUC-JP-MS SJIS libJIS" # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { . $WOK/slitaz-i18n/stuff/locale-pack.functions . $WOK/slitaz-i18n/stuff/locale-pack.conf get_locale } # Back to C if it's the last used locale. post_remove() { grep -qs =$LOCALE /etc/locale.conf && echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf }