wok-current annotate locale-el/receipt @ rev 14908
slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 03 17:37:48 2013 +0300 (2013-08-03) |
parents | 919b102812ab |
children | b042fcb86c79 |
rev | line source |
---|---|
al@14636 | 1 # SliTaz package receipt |
al@14636 | 2 |
al@14636 | 3 PACKAGE="locale-el" |
al@14908 | 4 VERSION="4.1" |
al@14636 | 5 CATEGORY="system-tools" |
al@14636 | 6 SHORT_DESC="Greek locale pack" |
al@14636 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14636 | 8 WEB_SITE="http://www.slitaz.org/" |
al@14636 | 9 |
al@14908 | 10 WANTED="glibc slitaz-i18n xorg-libX11" |
al@14636 | 11 DEPENDS="glibc-base" |
al@14636 | 12 |
al@14636 | 13 LOCALE="el" |
al@14636 | 14 |
al@14636 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14636 | 16 genpkg_rules() |
al@14636 | 17 { |
al@14636 | 18 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
al@14636 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 20 get_locale |
al@14636 | 21 } |
al@14636 | 22 |
al@14636 | 23 # Back to C if it's the last used locale. |
al@14636 | 24 post_remove() |
al@14636 | 25 { |
al@14908 | 26 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
al@14636 | 27 } |