wok-4.x annotate locale-fr/receipt @ rev 12038
locale-pt_BR: remove locale-pt as dep and fix locale-pt localedef (save space on livecd)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Mar 07 13:45:09 2012 +0100 (2012-03-07) |
parents | bcfe199cef3f |
children |
rev | line source |
---|---|
pankso@2892 | 1 # SliTaz package receipt |
pankso@2892 | 2 |
pankso@2892 | 3 PACKAGE="locale-fr" |
pankso@10739 | 4 VERSION="4.0" |
pankso@2892 | 5 CATEGORY="system-tools" |
pankso@2892 | 6 SHORT_DESC="French locale pack." |
pankso@2892 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2892 | 8 DEPENDS="glibc-base" |
pankso@3087 | 9 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" |
pankso@2892 | 10 WEB_SITE="http://www.slitaz.org/" |
pascal@11851 | 11 WANTED="slitaz-i18n" |
pankso@2892 | 12 |
pankso@2892 | 13 LOCALE="fr" |
pankso@2892 | 14 LOCALEDEF="fr_FR" |
pankso@4855 | 15 CHARMAP="UTF-8" |
pankso@2892 | 16 |
pankso@2892 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2892 | 18 genpkg_rules() |
pankso@3091 | 19 { |
slaxemulator@9701 | 20 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10739 | 21 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pankso@3087 | 22 mk_locale_dir |
pankso@3087 | 23 get_slitaz_messages |
pankso@3087 | 24 get_core_messages |
pankso@2892 | 25 } |
pankso@2892 | 26 |
pankso@2892 | 27 # Back to C if it's the last used locale. |
pankso@2892 | 28 post_remove() |
pankso@2892 | 29 { |
pankso@2892 | 30 if grep -q $LOCALEDEF /etc/locale.conf; then |
pankso@2892 | 31 echo "LANG=C" > /etc/locale.conf |
pankso@2892 | 32 echo "LC_ALL=C" >> /etc/locale.conf |
pankso@2892 | 33 fi |
pankso@2892 | 34 } |