wok annotate locale-it/receipt @ rev 23995

Up dropbear (2020.81), lz4 (1.9.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 16 17:23:49 2020 +0000 (2020-12-16)
parents a52ffca61a1d
children
rev   line source
pankso@724 1 # SliTaz package receipt
pankso@724 2
pankso@724 3 PACKAGE="locale-it"
al@18168 4 VERSION="5.0"
al@19175 5 CATEGORY="localization"
al@18168 6 SHORT_DESC="Italian locale pack"
pankso@724 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@724 13 DEPENDS="glibc-base"
pankso@724 14
pankso@724 15 LOCALE="it"
al@16591 16 LOCALE_DEPENDS="de_CH" # for it_CH
al@18168 17 KBD="it"
al@18168 18 KB_FLAGS="IT:it"
al@18168 19 GCONV="ISO8859-1 ISO8859-15"
pankso@724 20
pankso@724 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@724 22 genpkg_rules()
pankso@3091 23 {
slaxemulator@9701 24 . $WOK/slitaz-i18n/stuff/locale-pack.functions
slaxemulator@9701 25 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@14908 26 get_locale
pankso@724 27 }
pankso@724 28
pankso@724 29 # Back to C if it's the last used locale.
pankso@724 30 post_remove()
pankso@724 31 {
pascal@22367 32 grep -qs =$LOCALE /etc/locale.conf &&
al@14908 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
pankso@724 34 }