wok annotate locale-el/receipt @ rev 17226
slim: fix post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 15 16:37:48 2014 +0200 (2014-10-15) |
parents | c667db027c32 |
children | cea5a9fa7152 |
rev | line source |
---|---|
al@14636 | 1 # SliTaz package receipt |
al@14636 | 2 |
al@14636 | 3 PACKAGE="locale-el" |
al@16591 | 4 VERSION="4.2" |
al@14636 | 5 CATEGORY="system-tools" |
al@14636 | 6 SHORT_DESC="Greek locale pack" |
al@14636 | 7 MAINTAINER="al.bobylev@gmail.com" |
pascal@15604 | 8 LICENSE="GPL3" |
al@14636 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14636 | 10 |
al@14908 | 11 WANTED="glibc slitaz-i18n xorg-libX11" |
al@14636 | 12 DEPENDS="glibc-base" |
al@14636 | 13 |
al@14636 | 14 LOCALE="el" |
al@16591 | 15 LOCALE_DEPENDS="" |
al@16591 | 16 KB_FLAGS="GR:gr US:us" |
al@16592 | 17 GCONV="ISO8859-7 IBM869 CP1253" |
al@14636 | 18 |
al@14636 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14636 | 20 genpkg_rules() |
al@14636 | 21 { |
al@14636 | 22 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
al@14636 | 23 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 24 get_locale |
al@14636 | 25 } |
al@14636 | 26 |
al@14636 | 27 # Back to C if it's the last used locale. |
al@14636 | 28 post_remove() |
al@14636 | 29 { |
al@14908 | 30 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
al@14636 | 31 } |