wok-next view locale-fr/receipt @ rev 11975
merge
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 02 11:54:25 2012 -0800 (2012-03-02) |
parents | e515fe31c8d4 |
children | ca6e8553bf3f |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-fr"
4 VERSION="4.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="French locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glibc-base"
9 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n"
10 WEB_SITE="http://www.slitaz.org/"
11 WANTED="slitaz-i18n"
12 WANTED="slitaz-i18n"
14 LOCALE="fr"
15 LOCALEDEF="fr_FR"
16 CHARMAP="UTF-8"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 . $WOK/slitaz-i18n/stuff/locale-pack.functions
22 . $WOK/slitaz-i18n/stuff/locale-pack.conf
23 mk_locale_dir
24 get_slitaz_messages
25 get_core_messages
26 }
28 # Back to C if it's the last used locale.
29 post_remove()
30 {
31 if grep -q $LOCALEDEF /etc/locale.conf; then
32 echo "LANG=C" > /etc/locale.conf
33 echo "LC_ALL=C" >> /etc/locale.conf
34 fi
35 }