wok-next view locale-ro/receipt @ rev 18119
Up: tazpkg(814), tazpanel(501)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jun 08 04:37:36 2015 +0300 (2015-06-08) |
parents | c8d571ac0076 |
children | ec332cdcdbc1 |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-ro"
4 VERSION="4.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Romanian locale pack"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
10 HOST_ARCH="i486 arm"
12 WANTED="glibc slitaz-i18n xorg-libX11"
13 DEPENDS="glibc-base"
15 LOCALE="ro"
16 LOCALE_DEPENDS=""
17 KB_FLAGS="RO:ro"
18 GCONV="IBM852 CP1250 ISO8859-2 ISO8859-16"
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 . $WOK/slitaz-i18n/stuff/locale-pack.functions
24 . $WOK/slitaz-i18n/stuff/locale-pack.conf
25 get_locale
27 # Copy X11 Compose Rules
28 mkdir -p $fs/usr/share/X11/locale
29 cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-2 $fs/usr/share/X11/locale
31 # Copy Kbd definitions
32 mkdir -p $fs/usr/share/kbd/keymaps/i386/qwerty
33 cp -a $WOK/kbd/install/usr/share/kbd/keymaps/i386/qwerty/ro* $fs/usr/share/kbd/keymaps/i386/qwerty
34 }
36 # Back to C if it's the last used locale.
37 post_remove()
38 {
39 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
40 }