wok annotate locale-it/receipt @ rev 14692
python-edje: Up to 1.7.0-3
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:09:30 2013 +0200 (2013-06-06) |
parents | ee88cfdf14a2 |
children | 874b0d62ff7e |
rev | line source |
---|---|
pankso@724 | 1 # SliTaz package receipt |
pankso@724 | 2 |
pankso@724 | 3 PACKAGE="locale-it" |
pankso@10739 | 4 VERSION="4.0" |
pankso@724 | 5 CATEGORY="system-tools" |
pankso@724 | 6 SHORT_DESC="Italian locale pack." |
pankso@724 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@724 | 8 DEPENDS="glibc-base" |
pankso@3087 | 9 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" |
pankso@724 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@11854 | 11 WANTED="slitaz-i18n" |
pankso@724 | 12 |
pankso@724 | 13 LOCALE="it" |
pankso@724 | 14 LOCALEDEF="it_IT" |
pankso@4855 | 15 CHARMAP="UTF-8" |
pankso@724 | 16 |
pankso@724 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@724 | 18 genpkg_rules() |
pankso@3091 | 19 { |
slaxemulator@9701 | 20 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 21 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pankso@3087 | 22 mk_locale_dir |
pankso@3087 | 23 get_slitaz_messages |
pankso@3087 | 24 get_core_messages |
pankso@724 | 25 } |
pankso@724 | 26 |
pankso@724 | 27 # Back to C if it's the last used locale. |
pankso@724 | 28 post_remove() |
pankso@724 | 29 { |
pankso@724 | 30 if grep -q $LOCALEDEF /etc/locale.conf; then |
pankso@724 | 31 echo "LANG=C" > /etc/locale.conf |
pankso@724 | 32 echo "LC_ALL=C" >> /etc/locale.conf |
pankso@724 | 33 fi |
pankso@724 | 34 } |