wok-current annotate locale-fr/receipt @ rev 15185
linux-source: add mirror src fallback
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 23 18:59:48 2013 +0000 (2013-08-23) |
parents | 874b0d62ff7e |
children | 48d3d669a814 |
rev | line source |
---|---|
pankso@2892 | 1 # SliTaz package receipt |
pankso@2892 | 2 |
pankso@2892 | 3 PACKAGE="locale-fr" |
al@14908 | 4 VERSION="4.1" |
pankso@2892 | 5 CATEGORY="system-tools" |
pankso@2892 | 6 SHORT_DESC="French locale pack." |
pankso@2892 | 7 MAINTAINER="pankso@slitaz.org" |
al@14908 | 8 WEB_SITE="http://www.slitaz.org/" |
al@14908 | 9 |
al@14908 | 10 WANTED="glibc slitaz-i18n xorg-libX11" |
pankso@2892 | 11 DEPENDS="glibc-base" |
pankso@2892 | 12 |
pankso@2892 | 13 LOCALE="fr" |
pankso@2892 | 14 |
pankso@2892 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2892 | 16 genpkg_rules() |
pankso@3091 | 17 { |
slaxemulator@9701 | 18 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10739 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 20 get_locale |
pankso@2892 | 21 } |
pankso@2892 | 22 |
pankso@2892 | 23 # Back to C if it's the last used locale. |
pankso@2892 | 24 post_remove() |
pankso@2892 | 25 { |
al@14908 | 26 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@2892 | 27 } |
al@14909 | 28 |