wok-6.x view locale-pt/receipt @ rev 24973
Up zsh (5.8.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 15:03:44 2022 +0000 (2022-05-01) |
parents | a52ffca61a1d |
children |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-pt"
4 VERSION="5.0"
5 CATEGORY="localization"
6 SHORT_DESC="Portuguese locale pack"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 HOST_ARCH="i486 arm"
12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd"
13 DEPENDS="glibc-base"
15 LOCALE="pt"
16 LOCALE_DEPENDS=""
17 LOCALEDEF="pt_PT pt_PT@euro"
18 KBD="pt-latin1"
19 KB_FLAGS="PT:pt"
20 GCONV="ISO8859-1 ISO8859-15"
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 . $WOK/slitaz-i18n/stuff/locale-pack.functions
26 . $WOK/slitaz-i18n/stuff/locale-pack.conf
27 get_locale
28 }
30 # Back to C if it's the last used locale.
31 post_remove()
32 {
33 grep -qs =$LOCALE /etc/locale.conf &&
34 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
35 }