wok-stable annotate locale-fr/receipt @ rev 11786

up graphviz (2.28.0)
author Samuel Trassare <samuel_trassare@yahoo.com>
date Fri Feb 24 10:33:31 2012 -0800 (2012-02-24)
parents 6a16e4339314
children e515fe31c8d4
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/"
pankso@2892 11
pankso@2892 12 LOCALE="fr"
pankso@2892 13 LOCALEDEF="fr_FR"
pankso@4855 14 CHARMAP="UTF-8"
pankso@2892 15
pankso@2892 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2892 17 genpkg_rules()
pankso@3091 18 {
slaxemulator@9701 19 . $WOK/slitaz-i18n/stuff/locale-pack.functions
pankso@10739 20 . $WOK/slitaz-i18n/stuff/locale-pack.conf
pankso@3087 21 mk_locale_dir
pankso@3087 22 get_slitaz_messages
pankso@3087 23 get_core_messages
pankso@2892 24 }
pankso@2892 25
pankso@2892 26 # Back to C if it's the last used locale.
pankso@2892 27 post_remove()
pankso@2892 28 {
pankso@2892 29 if grep -q $LOCALEDEF /etc/locale.conf; then
pankso@2892 30 echo "LANG=C" > /etc/locale.conf
pankso@2892 31 echo "LC_ALL=C" >> /etc/locale.conf
pankso@2892 32 fi
pankso@2892 33 }