wok-current annotate locale-ro/receipt @ rev 17532
Add guacamole
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 21 12:25:55 2015 +0100 (2015-01-21) |
parents | c8d571ac0076 |
children | ec332cdcdbc1 |
rev | line source |
---|---|
al@17497 | 1 # SliTaz package receipt |
al@17497 | 2 |
al@17497 | 3 PACKAGE="locale-ro" |
al@17497 | 4 VERSION="4.2" |
al@17497 | 5 CATEGORY="system-tools" |
al@17497 | 6 SHORT_DESC="Romanian locale pack" |
al@17497 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@17497 | 8 LICENSE="GPL3" |
al@17497 | 9 WEB_SITE="http://www.slitaz.org/" |
al@17497 | 10 HOST_ARCH="i486 arm" |
al@17497 | 11 |
al@17497 | 12 WANTED="glibc slitaz-i18n xorg-libX11" |
al@17497 | 13 DEPENDS="glibc-base" |
al@17497 | 14 |
al@17497 | 15 LOCALE="ro" |
al@17497 | 16 LOCALE_DEPENDS="" |
al@17497 | 17 KB_FLAGS="RO:ro" |
al@17498 | 18 GCONV="IBM852 CP1250 ISO8859-2 ISO8859-16" |
al@17497 | 19 |
al@17497 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@17497 | 21 genpkg_rules() |
al@17497 | 22 { |
al@17497 | 23 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
al@17497 | 24 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@17497 | 25 get_locale |
al@17497 | 26 |
al@17497 | 27 # Copy X11 Compose Rules |
al@17497 | 28 mkdir -p $fs/usr/share/X11/locale |
al@17497 | 29 cp -a $WOK/xorg-libX11/install/usr/share/X11/locale/iso8859-2 $fs/usr/share/X11/locale |
al@17497 | 30 |
al@17497 | 31 # Copy Kbd definitions |
al@17497 | 32 mkdir -p $fs/usr/share/kbd/keymaps/i386/qwerty |
al@17498 | 33 cp -a $WOK/kbd/install/usr/share/kbd/keymaps/i386/qwerty/ro* $fs/usr/share/kbd/keymaps/i386/qwerty |
al@17497 | 34 } |
al@17497 | 35 |
al@17497 | 36 # Back to C if it's the last used locale. |
al@17497 | 37 post_remove() |
al@17497 | 38 { |
al@17497 | 39 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
al@17497 | 40 } |