wok-6.x annotate locale-it/receipt @ rev 25542
linux-cloop: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 11 09:15:29 2023 +0000 (20 months ago) |
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 } |