wok-next view locale-fr/receipt @ rev 16458
slitaz-tools-boxes: we dont have any gtkdialog boxes anymore
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Apr 19 22:03:30 2014 +0200 (2014-04-19) |
parents | 48d3d669a814 |
children | c4533f65e171 |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-fr"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="French locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 WANTED="glibc slitaz-i18n xorg-libX11"
12 DEPENDS="glibc-base"
14 LOCALE="fr"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 . $WOK/slitaz-i18n/stuff/locale-pack.functions
20 . $WOK/slitaz-i18n/stuff/locale-pack.conf
21 get_locale
23 # "fr_CA" locale definition based on "en_CA" locale definition file
24 cp -a $WOK/glibc/install/usr/share/i18n/locales/en_CA $fs/usr/share/i18n/locales
25 # "fr_CH" locale definition based on "de_CH" locale definition file
26 cp -a $WOK/glibc/install/usr/share/i18n/locales/de_CH $fs/usr/share/i18n/locales
27 }
29 # Back to C if it's the last used locale.
30 post_remove()
31 {
32 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
33 }