wok-6.x annotate locale-pt_BR/receipt @ rev 16537
wine: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 28 13:55:14 2014 +0000 (2014-04-28) |
parents | 48d3d669a814 |
children | c4533f65e171 |
rev | line source |
---|---|
pankso@724 | 1 # SliTaz package receipt |
pankso@724 | 2 |
pankso@724 | 3 PACKAGE="locale-pt_BR" |
al@14908 | 4 VERSION="4.1" |
pankso@10784 | 5 CATEGORY="system-tools" |
pankso@10778 | 6 SHORT_DESC="Portuguese/Brazilian locale pack." |
pankso@724 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15604 | 8 LICENSE="GPL3" |
al@14636 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14636 | 10 |
al@14908 | 11 WANTED="glibc slitaz-i18n xorg-libX11" |
pankso@12038 | 12 DEPENDS="glibc-base" |
pankso@724 | 13 |
pankso@10778 | 14 LOCALE="pt_BR" |
pankso@10778 | 15 |
pankso@10778 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@724 | 17 genpkg_rules() |
pankso@724 | 18 { |
pankso@10778 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10778 | 20 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 21 get_locale |
al@16451 | 22 |
al@16451 | 23 # "pt_BR" locale definition based on "pt_PT" locale definition file |
al@16451 | 24 cp -a $WOK/glibc/install/usr/share/i18n/locales/pt_PT $fs/usr/share/i18n/locales |
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 { |
al@14908 | 30 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@12038 | 31 } |
al@14909 | 32 |