wok-current view locale-pt/receipt @ rev 25728
Merge wok for both arch and few updates
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Dec 05 08:39:45 2024 +0000 (2 weeks ago) |
parents | a4853170daf3 |
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 x86_64"
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 }