wok-next view locale-ru/receipt @ rev 15058
cocoalib: create Makefile_dependencies
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:39:24 2013 +0000 (2013-08-13) |
parents | 874b0d62ff7e |
children | 48d3d669a814 |
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 WEB_SITE="http://www.slitaz.org/"
10 WANTED="glibc slitaz-i18n xorg-libX11"
11 DEPENDS="glibc-base"
13 LOCALE="ru"
15 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 . $WOK/slitaz-i18n/stuff/locale-pack.functions
19 . $WOK/slitaz-i18n/stuff/locale-pack.conf
20 get_locale
22 mkdir -p $fs/usr/share/lxpanel/images/xkb-flags
23 for i in us.png ru.png ua.png LICENSE.txt; do
24 install -m644 $stuff/$i $fs/usr/share/lxpanel/images/xkb-flags/$i
25 done
26 }
28 # Back to C if it's the last used locale.
29 post_remove()
30 {
31 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
32 }