wok-current view locale-el/receipt @ rev 15860
libmowgli: update genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jan 30 09:02:32 2014 +0000 (2014-01-30) |
parents | b042fcb86c79 |
children | c4533f65e171 |
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 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 WANTED="glibc slitaz-i18n xorg-libX11"
12 DEPENDS="glibc-base"
14 LOCALE="el"
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 gr.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 }