wok-6.x annotate locale-pt/receipt @ rev 18168
syslinux: change some locales in the menu; update locale-* package set according to syslinux menu, add kbd (console keyboard) layouts.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 28 15:14:56 2015 +0300 (2015-06-28) |
parents | cea5a9fa7152 |
children | 7042a09beaeb |
rev | line source |
---|---|
pankso@3035 | 1 # SliTaz package receipt |
pankso@3035 | 2 |
pankso@3035 | 3 PACKAGE="locale-pt" |
al@18168 | 4 VERSION="5.0" |
pankso@3035 | 5 CATEGORY="system-tools" |
al@18168 | 6 SHORT_DESC="Portuguese locale pack" |
pankso@3035 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15604 | 8 LICENSE="GPL3" |
al@14908 | 9 WEB_SITE="http://www.slitaz.org/" |
al@17402 | 10 HOST_ARCH="i486 arm" |
al@14908 | 11 |
al@18168 | 12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd" |
pankso@3035 | 13 DEPENDS="glibc-base" |
pankso@3035 | 14 |
pankso@3087 | 15 LOCALE="pt" |
al@16591 | 16 LOCALE_DEPENDS="" |
al@14908 | 17 LOCALEDEF="pt_PT pt_PT@euro" |
al@18168 | 18 KBD="pt-latin1" |
al@18168 | 19 KB_FLAGS="PT:pt" |
al@18168 | 20 GCONV="ISO8859-1 ISO8859-15" |
pankso@3035 | 21 |
pankso@3035 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3035 | 23 genpkg_rules() |
pankso@3091 | 24 { |
slaxemulator@9701 | 25 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 26 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 27 get_locale |
pankso@3035 | 28 } |
pankso@3035 | 29 |
pankso@3035 | 30 # Back to C if it's the last used locale. |
pankso@3035 | 31 post_remove() |
pankso@3035 | 32 { |
al@14908 | 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@3035 | 34 } |