wok-6.x diff locale-pt/receipt @ rev 15020
airpwn: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 11 17:42:17 2013 +0000 (2013-08-11) |
parents | ca6e8553bf3f |
children | 48d3d669a814 |
line diff
1.1 --- a/locale-pt/receipt Wed Mar 07 13:45:09 2012 +0100 1.2 +++ b/locale-pt/receipt Sun Aug 11 17:42:17 2013 +0000 1.3 @@ -1,34 +1,28 @@ 1.4 # SliTaz package receipt 1.5 1.6 PACKAGE="locale-pt" 1.7 -VERSION="4.0" 1.8 +VERSION="4.1" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Portuguese locale pack." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 + 1.14 +WANTED="glibc slitaz-i18n xorg-libX11" 1.15 DEPENDS="glibc-base" 1.16 -BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" 1.17 -WEB_SITE="http://www.slitaz.org/" 1.18 -WANTED="slitaz-i18n" 1.19 1.20 LOCALE="pt" 1.21 -LOCALEDEF="pt_PT" 1.22 -CHARMAP="UTF-8" 1.23 +LOCALEDEF="pt_PT pt_PT@euro" 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 . $WOK/slitaz-i18n/stuff/locale-pack.functions 1.29 . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.30 - mk_locale_dir 1.31 - get_slitaz_messages 1.32 - get_core_messages 1.33 + get_locale 1.34 } 1.35 1.36 # Back to C if it's the last used locale. 1.37 post_remove() 1.38 { 1.39 - if grep -q $LOCALEDEF /etc/locale.conf; then 1.40 - echo "LANG=C" > /etc/locale.conf 1.41 - echo "LC_ALL=C" >> /etc/locale.conf 1.42 - fi 1.43 + echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf 1.44 }