wok annotate locale-fr/receipt @ rev 24133

Up tazinst (115)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 23 15:17:56 2021 +0000 (2021-10-23)
parents a52ffca61a1d
children
rev   line source
pankso@2892 1 # SliTaz package receipt
pankso@2892 2
pankso@2892 3 PACKAGE="locale-fr"
al@18168 4 VERSION="5.0"
al@19175 5 CATEGORY="localization"
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 {
pascal@22367 32 grep -qs =$LOCALE /etc/locale.conf &&
al@14908 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
pankso@2892 34 }
al@14909 35