wok annotate locale-ru/receipt @ rev 14872
busybox: add lpd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 23 11:42:49 2013 +0000 (2013-07-23) |
parents | bcfe199cef3f |
children | 874b0d62ff7e |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="locale-ru" |
pankso@10739 | 4 VERSION="4.0" |
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@14636 | 10 WANTED="slitaz-i18n xorg-libX11" |
pankso@529 | 11 DEPENDS="glibc-base" |
pankso@3087 | 12 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" |
pankso@529 | 13 |
pankso@529 | 14 LOCALE="ru" |
pankso@529 | 15 LOCALEDEF="ru_RU" |
pankso@2757 | 16 CHARMAP="UTF-8" |
pankso@529 | 17 |
pankso@529 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 19 genpkg_rules() |
pankso@3091 | 20 { |
slaxemulator@9701 | 21 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 22 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pankso@3087 | 23 mk_locale_dir |
pankso@3087 | 24 get_slitaz_messages |
pankso@3087 | 25 get_core_messages |
al@14636 | 26 get_x11_locale |
pankso@529 | 27 } |
pankso@529 | 28 |
pankso@529 | 29 # Back to C if it's the last used locale. |
pankso@529 | 30 post_remove() |
pankso@529 | 31 { |
pankso@529 | 32 if grep -q $LOCALEDEF /etc/locale.conf; then |
pankso@529 | 33 echo "LANG=C" > /etc/locale.conf |
pankso@529 | 34 echo "LC_ALL=C" >> /etc/locale.conf |
pankso@529 | 35 fi |
pankso@529 | 36 } |