wok annotate locale-pt/receipt @ rev 15194
Add pigz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 30 11:47:42 2013 +0000 (2013-08-30) |
parents | ca6e8553bf3f |
children | 48d3d669a814 |
rev | line source |
---|---|
pankso@3035 | 1 # SliTaz package receipt |
pankso@3035 | 2 |
pankso@3035 | 3 PACKAGE="locale-pt" |
al@14908 | 4 VERSION="4.1" |
pankso@3035 | 5 CATEGORY="system-tools" |
pankso@10778 | 6 SHORT_DESC="Portuguese locale pack." |
pankso@3035 | 7 MAINTAINER="pankso@slitaz.org" |
al@14908 | 8 WEB_SITE="http://www.slitaz.org/" |
al@14908 | 9 |
al@14908 | 10 WANTED="glibc slitaz-i18n xorg-libX11" |
pankso@3035 | 11 DEPENDS="glibc-base" |
pankso@3035 | 12 |
pankso@3087 | 13 LOCALE="pt" |
al@14908 | 14 LOCALEDEF="pt_PT pt_PT@euro" |
pankso@3035 | 15 |
pankso@3035 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3035 | 17 genpkg_rules() |
pankso@3091 | 18 { |
slaxemulator@9701 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 20 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 21 get_locale |
pankso@3035 | 22 } |
pankso@3035 | 23 |
pankso@3035 | 24 # Back to C if it's the last used locale. |
pankso@3035 | 25 post_remove() |
pankso@3035 | 26 { |
al@14908 | 27 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@3035 | 28 } |