wok-current view locale-pt_BR/receipt @ rev 25685

Add checkspace / fetchall feature for tazpkg
author Stanislas Leduc <shann@slitaz.org>
date Thu Mar 14 20:28:39 2024 +0000 (8 months ago)
parents a52ffca61a1d
children
line source
1 # SliTaz package receipt
3 PACKAGE="locale-pt_BR"
4 VERSION="5.0"
5 CATEGORY="localization"
6 SHORT_DESC="Portuguese/Brazilian 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"
13 DEPENDS="glibc-base"
15 LOCALE="pt_BR"
16 LOCALE_DEPENDS="pt_PT" # for pt_BR
17 KBD="br-abnt2 us-acentos"
18 KB_FLAGS="BR:br"
19 GCONV="ISO8859-1 ISO8859-15"
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 . $WOK/slitaz-i18n/stuff/locale-pack.functions
25 . $WOK/slitaz-i18n/stuff/locale-pack.conf
26 get_locale
27 }
29 # Back to C if it's the last used locale.
30 post_remove()
31 {
32 grep -qs =$LOCALE /etc/locale.conf &&
33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
34 }