wok-next annotate locale-ru/receipt @ rev 15604

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:58:19 2013 +0000 (2013-12-06)
parents b042fcb86c79
children fbd26a7703dd
rev   line source
pankso@529 1 # SliTaz package receipt
pankso@529 2
pankso@529 3 PACKAGE="locale-ru"
al@14908 4 VERSION="4.1"
pankso@529 5 CATEGORY="system-tools"
pankso@529 6 SHORT_DESC="Russian locale pack."
pankso@529 7 MAINTAINER="pankso@slitaz.org"
pascal@15604 8 LICENSE="GPL3"
al@14636 9 WEB_SITE="http://www.slitaz.org/"
al@14636 10
al@14908 11 WANTED="glibc slitaz-i18n xorg-libX11"
pankso@529 12 DEPENDS="glibc-base"
pankso@529 13
pankso@529 14 LOCALE="ru"
pankso@529 15
pankso@529 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@529 17 genpkg_rules()
pankso@3091 18 {
slaxemulator@9701 19 . $WOK/slitaz-i18n/stuff/locale-pack.functions
slaxemulator@9701 20 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@14908 21 get_locale
al@14909 22
al@14909 23 mkdir -p $fs/usr/share/lxpanel/images/xkb-flags
al@14909 24 for i in us.png ru.png ua.png LICENSE.txt; do
al@14909 25 install -m644 $stuff/$i $fs/usr/share/lxpanel/images/xkb-flags/$i
al@14909 26 done
pankso@529 27 }
pankso@529 28
pankso@529 29 # Back to C if it's the last used locale.
pankso@529 30 post_remove()
pankso@529 31 {
al@14908 32 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
pankso@529 33 }