wok-current annotate locale-ru/receipt @ rev 16512
Add wiringpi-piglow (small utility writtrn in C to handle PiGlow leds)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 24 21:18:26 2014 +0200 (2014-04-24) |
parents | 48d3d669a814 |
children | c4533f65e171 |
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@16433 | 23 # country flags used in the some dialogs |
al@16433 | 24 usih=usr/share/icons/hicolor |
al@16433 | 25 for size in 16x16 48x48; do |
al@16433 | 26 mkdir -p $fs/$usih/$size/intl |
al@16433 | 27 cp -a $stuff/$size/* $fs/$usih/$size/intl |
al@14909 | 28 done |
al@16433 | 29 |
al@16433 | 30 # keyboard flags for default lxpanel keyboard applet |
al@16433 | 31 uslix=usr/share/lxpanel/images/xkb-flags |
al@16433 | 32 mkdir -p $fs/$uslix |
al@16433 | 33 for i in us ru ua; do |
al@16433 | 34 ln -s /$usih/16x16/intl/$(echo $i | tr a-z A-Z).png $fs/$uslix/$i.png |
al@16433 | 35 done |
al@16433 | 36 |
al@16433 | 37 # above icons credits |
al@16433 | 38 fusl=$fs/usr/share/licenses |
al@16433 | 39 mkdir -p $fusl |
al@16433 | 40 cp -a $stuff/LICENSE.txt $fusl/gosquared.txt |
pankso@529 | 41 } |
pankso@529 | 42 |
pankso@529 | 43 # Back to C if it's the last used locale. |
pankso@529 | 44 post_remove() |
pankso@529 | 45 { |
al@14908 | 46 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@529 | 47 } |