wok view locale-pt/receipt @ rev 21820

syslinux/kbd: check kbd malloc pointer
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 25 11:41:26 2019 +0200 (3 months ago)
parents 7042a09beaeb
children a4853170daf3
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 -q =$LOCALE /etc/locale.conf &&
34 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
35 }