wok-6.x annotate locale-el/receipt @ rev 15273
linux: remove duplicate bootsect_start label
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 25 16:04:47 2013 +0000 (2013-09-25) |
parents | 874b0d62ff7e |
children | 48d3d669a814 |
rev | line source |
---|---|
al@14636 | 1 # SliTaz package receipt |
al@14636 | 2 |
al@14636 | 3 PACKAGE="locale-el" |
al@14908 | 4 VERSION="4.1" |
al@14636 | 5 CATEGORY="system-tools" |
al@14636 | 6 SHORT_DESC="Greek locale pack" |
al@14636 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14636 | 8 WEB_SITE="http://www.slitaz.org/" |
al@14636 | 9 |
al@14908 | 10 WANTED="glibc slitaz-i18n xorg-libX11" |
al@14636 | 11 DEPENDS="glibc-base" |
al@14636 | 12 |
al@14636 | 13 LOCALE="el" |
al@14636 | 14 |
al@14636 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14636 | 16 genpkg_rules() |
al@14636 | 17 { |
al@14636 | 18 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
al@14636 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 20 get_locale |
al@14909 | 21 |
al@14909 | 22 mkdir -p $fs/usr/share/lxpanel/images/xkb-flags |
al@14909 | 23 for i in us.png gr.png LICENSE.txt; do |
al@14909 | 24 install -m644 $stuff/$i $fs/usr/share/lxpanel/images/xkb-flags/$i |
al@14909 | 25 done |
al@14636 | 26 } |
al@14636 | 27 |
al@14636 | 28 # Back to C if it's the last used locale. |
al@14636 | 29 post_remove() |
al@14636 | 30 { |
al@14908 | 31 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
al@14636 | 32 } |