wok-next rev 17497
Add: locale-ro.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 05 23:22:24 2015 +0200 (2015-01-05) |
parents | 26654c1a7ca7 |
children | 9c4f1fb3be01 |
files | locale-ro/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/locale-ro/receipt Mon Jan 05 23:22:24 2015 +0200 1.3 @@ -0,0 +1,40 @@ 1.4 +# SliTaz package receipt 1.5 + 1.6 +PACKAGE="locale-ro" 1.7 +VERSION="4.2" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Romanian locale pack" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL3" 1.12 +WEB_SITE="http://www.slitaz.org/" 1.13 +HOST_ARCH="i486 arm" 1.14 + 1.15 +WANTED="glibc slitaz-i18n xorg-libX11" 1.16 +DEPENDS="glibc-base" 1.17 + 1.18 +LOCALE="ro" 1.19 +LOCALE_DEPENDS="" 1.20 +KB_FLAGS="RO:ro" 1.21 +GCONV="CP852 CP1250 ISO-8859-2 ISO-8859-16" 1.22 + 1.23 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.24 +genpkg_rules() 1.25 +{ 1.26 + . $WOK/slitaz-i18n/stuff/locale-pack.functions 1.27 + . $WOK/slitaz-i18n/stuff/locale-pack.conf 1.28 + get_locale 1.29 + 1.30 + # Copy X11 Compose Rules 1.31 + mkdir -p $fs/usr/share/X11/locale 1.32 + cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-2 $fs/usr/share/X11/locale 1.33 + 1.34 + # Copy Kbd definitions 1.35 + mkdir -p $fs/usr/share/kbd/keymaps/i386/qwerty 1.36 + cp -a $WOK/kbd/usr/share/kbd/keymaps/i386/qwerty/ro* $fs/usr/share/kbd/keymaps/i386/qwerty 1.37 +} 1.38 + 1.39 +# Back to C if it's the last used locale. 1.40 +post_remove() 1.41 +{ 1.42 + echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf 1.43 +}