wok-6.x annotate locale-pt_BR/receipt @ rev 14367
sqlite: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 21 17:39:32 2013 +0200 (2013-04-21) |
parents | bcfe199cef3f |
children | 919b102812ab |
rev | line source |
---|---|
pankso@724 | 1 # SliTaz package receipt |
pankso@724 | 2 |
pankso@724 | 3 PACKAGE="locale-pt_BR" |
pankso@12038 | 4 VERSION="4.0" |
pankso@10784 | 5 CATEGORY="system-tools" |
pankso@10778 | 6 SHORT_DESC="Portuguese/Brazilian locale pack." |
pankso@724 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@12038 | 8 DEPENDS="glibc-base" |
pankso@12038 | 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@10778 | 13 LOCALE="pt_BR" |
pankso@10778 | 14 LOCALEDEF="pt_BR" |
pankso@10778 | 15 CHARMAP="UTF-8" |
pankso@10778 | 16 |
pankso@10778 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@724 | 18 genpkg_rules() |
pankso@724 | 19 { |
pankso@10778 | 20 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10778 | 21 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pankso@10778 | 22 mk_locale_dir |
pankso@10778 | 23 get_slitaz_messages |
pankso@10778 | 24 get_core_messages |
pankso@724 | 25 } |
pankso@12038 | 26 |
pankso@12038 | 27 # Back to C if it's the last used locale. |
pankso@12038 | 28 post_remove() |
pankso@12038 | 29 { |
pankso@12038 | 30 if grep -q $LOCALEDEF /etc/locale.conf; then |
pankso@12038 | 31 echo "LANG=C" > /etc/locale.conf |
pankso@12038 | 32 echo "LC_ALL=C" >> /etc/locale.conf |
pankso@12038 | 33 fi |
pankso@12038 | 34 } |