wok-next diff locale-el/receipt @ rev 14736
ntp: Up (4.2.6p5)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Jun 13 18:12:27 2013 +0000 (2013-06-13) |
parents | |
children | 874b0d62ff7e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/locale-el/receipt Thu Jun 13 18:12:27 2013 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt 1.5 + 1.6 +PACKAGE="locale-el" 1.7 +VERSION="4.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Greek locale pack" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +WEB_SITE="http://www.slitaz.org/" 1.12 + 1.13 +WANTED="slitaz-i18n xorg-libX11" 1.14 +DEPENDS="glibc-base" 1.15 +BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" 1.16 + 1.17 +LOCALE="el" 1.18 +LOCALEDEF="el_GR" 1.19 +CHARMAP="UTF-8" 1.20 + 1.21 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.22 +genpkg_rules() 1.23 +{ 1.24 + . $WOK/slitaz-i18n/stuff/locale-pack.functions 1.25 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.26 + mk_locale_dir 1.27 + get_slitaz_messages 1.28 + get_core_messages 1.29 + get_x11_locale 1.30 +} 1.31 + 1.32 +# Back to C if it's the last used locale. 1.33 +post_remove() 1.34 +{ 1.35 + if grep -q $LOCALEDEF /etc/locale.conf; then 1.36 + echo "LANG=C" > /etc/locale.conf 1.37 + echo "LC_ALL=C" >> /etc/locale.conf 1.38 + fi 1.39 +}