wok view locale-pt/receipt @ rev 25794

created recipe for exo-lang
author Hans-G?nter Theisgen
date Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago)
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 }