wok view locale-pt_BR/receipt @ rev 14636
Xorg marathon, Day 2. xorg-trapproto: fix receipt; xorg-libXau(-dev): up 1.0.8; xorg-xtrans: prettify receipt; xorg-libX11: move X11 locales to locale-*; slitaz-i18n: add function get_x11_locale; locale-el: add receipt; locale-pt_BR locale-ru locale-zh_CN locale-zh_TW: add here X11 locales.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 02 12:09:39 2013 +0000 (2013-06-02) |
parents | ca6e8553bf3f |
children | 874b0d62ff7e |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-pt_BR"
4 VERSION="4.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Portuguese/Brazilian locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://www.slitaz.org/"
10 WANTED="slitaz-i18n xorg-libX11"
11 DEPENDS="glibc-base"
12 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n"
14 LOCALE="pt_BR"
15 LOCALEDEF="pt_BR"
16 CHARMAP="UTF-8"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 . $WOK/slitaz-i18n/stuff/locale-pack.functions
22 . $WOK/slitaz-i18n/stuff/locale-pack.conf
23 mk_locale_dir
24 get_slitaz_messages
25 get_core_messages
26 get_x11_locale
27 }
29 # Back to C if it's the last used locale.
30 post_remove()
31 {
32 if grep -q $LOCALEDEF /etc/locale.conf; then
33 echo "LANG=C" > /etc/locale.conf
34 echo "LC_ALL=C" >> /etc/locale.conf
35 fi
36 }