wok-current annotate locale-pt/receipt @ rev 17402
Try to 'arm'-ize tzdata, slitaz-i18n, and locale-* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 28 01:22:40 2014 +0200 (2014-11-28) |
parents | c667db027c32 |
children | ec332cdcdbc1 |
rev | line source |
---|---|
pankso@3035 | 1 # SliTaz package receipt |
pankso@3035 | 2 |
pankso@3035 | 3 PACKAGE="locale-pt" |
al@16591 | 4 VERSION="4.2" |
pankso@3035 | 5 CATEGORY="system-tools" |
pankso@10778 | 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@14908 | 12 WANTED="glibc slitaz-i18n xorg-libX11" |
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@16591 | 18 KB_FLAGS="" |
al@16591 | 19 GCONV="" |
pankso@3035 | 20 |
pankso@3035 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3035 | 22 genpkg_rules() |
pankso@3091 | 23 { |
slaxemulator@9701 | 24 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 25 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 26 get_locale |
pankso@3035 | 27 } |
pankso@3035 | 28 |
pankso@3035 | 29 # Back to C if it's the last used locale. |
pankso@3035 | 30 post_remove() |
pankso@3035 | 31 { |
al@14908 | 32 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@3035 | 33 } |