wok-6.x view locale-ru/receipt @ rev 16028

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