wok-next annotate locale-fr/receipt @ rev 14602

xorg-libXxf86vm: down 1.1.2 (ver. 1.1.3 yet not exists here)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 29 02:19:36 2013 +0000 (2013-05-29)
parents bcfe199cef3f
children 874b0d62ff7e
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 }