wok-current annotate locale-fr/receipt @ rev 19136
vlc: add locale (thanks sonycrokett2000), again
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 17 19:03:35 2016 +0200 (2016-05-17) |
parents | cea5a9fa7152 |
children | 7042a09beaeb |
rev | line source |
---|---|
pankso@2892 | 1 # SliTaz package receipt |
pankso@2892 | 2 |
pankso@2892 | 3 PACKAGE="locale-fr" |
al@18168 | 4 VERSION="5.0" |
pankso@2892 | 5 CATEGORY="system-tools" |
al@18168 | 6 SHORT_DESC="French locale pack" |
pankso@2892 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15604 | 8 LICENSE="GPL3" |
al@14908 | 9 WEB_SITE="http://www.slitaz.org/" |
al@17402 | 10 HOST_ARCH="i486 arm" |
al@14908 | 11 |
al@18168 | 12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd" |
pankso@2892 | 13 DEPENDS="glibc-base" |
pankso@2892 | 14 |
pankso@2892 | 15 LOCALE="fr" |
al@16591 | 16 LOCALE_DEPENDS="en_CA de_CH" # for fr_CA and fr_CH |
al@18168 | 17 KBD="fr-latin1 be-latin1 cf fr_CH-latin1" |
al@18168 | 18 KB_FLAGS="FR:fr CA:ca CD:cd GN:gn" |
al@18168 | 19 GCONV="ISO8859-1 ISO8859-15" |
pankso@2892 | 20 |
pankso@2892 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2892 | 22 genpkg_rules() |
pankso@3091 | 23 { |
slaxemulator@9701 | 24 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10739 | 25 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 26 get_locale |
pankso@2892 | 27 } |
pankso@2892 | 28 |
pankso@2892 | 29 # Back to C if it's the last used locale. |
pankso@2892 | 30 post_remove() |
pankso@2892 | 31 { |
al@14908 | 32 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@2892 | 33 } |
al@14909 | 34 |