wok-6.x annotate locale-fr/receipt @ rev 11888
Add xorg-xf86-video-fbdev (Xorg drive fro frame buffer devices)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 28 14:38:57 2012 +0100 (2012-02-28) |
parents | e515fe31c8d4 |
children | ca6e8553bf3f |
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" |
pascal@11854 | 12 WANTED="slitaz-i18n" |
pankso@2892 | 13 |
pankso@2892 | 14 LOCALE="fr" |
pankso@2892 | 15 LOCALEDEF="fr_FR" |
pankso@4855 | 16 CHARMAP="UTF-8" |
pankso@2892 | 17 |
pankso@2892 | 18 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2892 | 19 genpkg_rules() |
pankso@3091 | 20 { |
slaxemulator@9701 | 21 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10739 | 22 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pankso@3087 | 23 mk_locale_dir |
pankso@3087 | 24 get_slitaz_messages |
pankso@3087 | 25 get_core_messages |
pankso@2892 | 26 } |
pankso@2892 | 27 |
pankso@2892 | 28 # Back to C if it's the last used locale. |
pankso@2892 | 29 post_remove() |
pankso@2892 | 30 { |
pankso@2892 | 31 if grep -q $LOCALEDEF /etc/locale.conf; then |
pankso@2892 | 32 echo "LANG=C" > /etc/locale.conf |
pankso@2892 | 33 echo "LC_ALL=C" >> /etc/locale.conf |
pankso@2892 | 34 fi |
pankso@2892 | 35 } |