wok-6.x annotate locale-ru/receipt @ rev 14908
slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 03 17:37:48 2013 +0300 (2013-08-03) |
parents | 919b102812ab |
children | b042fcb86c79 |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="locale-ru" |
al@14908 | 4 VERSION="4.1" |
pankso@529 | 5 CATEGORY="system-tools" |
pankso@529 | 6 SHORT_DESC="Russian locale pack." |
pankso@529 | 7 MAINTAINER="pankso@slitaz.org" |
al@14636 | 8 WEB_SITE="http://www.slitaz.org/" |
al@14636 | 9 |
al@14908 | 10 WANTED="glibc slitaz-i18n xorg-libX11" |
pankso@529 | 11 DEPENDS="glibc-base" |
pankso@529 | 12 |
pankso@529 | 13 LOCALE="ru" |
pankso@529 | 14 |
pankso@529 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 16 genpkg_rules() |
pankso@3091 | 17 { |
slaxemulator@9701 | 18 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 20 get_locale |
pankso@529 | 21 } |
pankso@529 | 22 |
pankso@529 | 23 # Back to C if it's the last used locale. |
pankso@529 | 24 post_remove() |
pankso@529 | 25 { |
al@14908 | 26 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@529 | 27 } |