wok-6.x view locale-el/receipt @ rev 15202

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 07 22:59:13 2013 +0000 (2013-09-07)
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 }