wok-current annotate locale-el/receipt @ rev 15844
dosfstools, flac: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 27 11:21:33 2014 +0000 (2014-01-27) |
parents | b042fcb86c79 |
children | c4533f65e171 |
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" |
pascal@15604 | 8 LICENSE="GPL3" |
al@14636 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14636 | 10 |
al@14908 | 11 WANTED="glibc slitaz-i18n xorg-libX11" |
al@14636 | 12 DEPENDS="glibc-base" |
al@14636 | 13 |
al@14636 | 14 LOCALE="el" |
al@14636 | 15 |
al@14636 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14636 | 17 genpkg_rules() |
al@14636 | 18 { |
al@14636 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
al@14636 | 20 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 21 get_locale |
al@14909 | 22 |
al@14909 | 23 mkdir -p $fs/usr/share/lxpanel/images/xkb-flags |
al@14909 | 24 for i in us.png gr.png LICENSE.txt; do |
al@14909 | 25 install -m644 $stuff/$i $fs/usr/share/lxpanel/images/xkb-flags/$i |
al@14909 | 26 done |
al@14636 | 27 } |
al@14636 | 28 |
al@14636 | 29 # Back to C if it's the last used locale. |
al@14636 | 30 post_remove() |
al@14636 | 31 { |
al@14908 | 32 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
al@14636 | 33 } |