wok-6.x view locale-el/receipt @ rev 15050
kino: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 18:52:35 2013 +0000 (2013-08-12) |
parents | 874b0d62ff7e |
children | 48d3d669a814 |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-el"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Greek locale pack"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://www.slitaz.org/"
10 WANTED="glibc slitaz-i18n xorg-libX11"
11 DEPENDS="glibc-base"
13 LOCALE="el"
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 gr.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 }