wok annotate locale-cs/receipt @ rev 17393
opus: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 27 16:05:28 2014 +0100 (2014-11-27) |
parents | c667db027c32 |
children | cea5a9fa7152 |
rev | line source |
---|---|
pankso@529 | 1 # SliTaz package receipt |
pankso@529 | 2 |
pankso@529 | 3 PACKAGE="locale-cs" |
al@16591 | 4 VERSION="4.2" |
pankso@529 | 5 CATEGORY="system-tools" |
pankso@529 | 6 SHORT_DESC="Czech locale pack." |
pankso@529 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15604 | 8 LICENSE="GPL3" |
al@14907 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14907 | 10 |
al@14908 | 11 WANTED="glibc slitaz-i18n xorg-libX11" |
pankso@529 | 12 DEPENDS="glibc-base" |
pankso@529 | 13 |
pankso@529 | 14 LOCALE="cs" |
al@16591 | 15 LOCALE_DEPENDS="" |
al@16591 | 16 KB_FLAGS="" |
al@16592 | 17 GCONV="ISO8859-2 IBM852 CP1250" |
pankso@529 | 18 |
pankso@529 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@529 | 20 genpkg_rules() |
pankso@3091 | 21 { |
slaxemulator@9701 | 22 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 23 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 24 get_locale |
pankso@529 | 25 } |
pankso@529 | 26 |
pankso@529 | 27 # Back to C if it's the last used locale. |
pankso@529 | 28 post_remove() |
pankso@529 | 29 { |
al@14908 | 30 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@529 | 31 } |