wok-6.x annotate locale-da/receipt @ rev 14908
slitaz-i18n: rewrite locale-pack.functions; slitaz-configs: now generate openbox desktop menu using po files; locale-*: update using new locale-pack.functions (FIXME: post_remove)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 03 17:37:48 2013 +0300 (2013-08-03) |
parents | bcfe199cef3f |
children | 48d3d669a814 |
rev | line source |
---|---|
pankso@10779 | 1 # SliTaz package receipt |
pankso@10779 | 2 |
pankso@10779 | 3 PACKAGE="locale-da" |
al@14908 | 4 VERSION="4.1" |
pankso@10779 | 5 CATEGORY="system-tools" |
pankso@10779 | 6 SHORT_DESC="Danish locale pack." |
pankso@10779 | 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@10779 | 11 DEPENDS="glibc-base" |
pankso@10779 | 12 |
pankso@10779 | 13 LOCALE="da" |
pankso@10779 | 14 |
pankso@10779 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10779 | 16 genpkg_rules() |
pankso@10779 | 17 { |
pankso@10779 | 18 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10779 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 20 get_locale |
pankso@10779 | 21 } |
pankso@10779 | 22 |
pankso@10779 | 23 # Back to C if it's the last used locale. |
pankso@10779 | 24 post_remove() |
pankso@10779 | 25 { |
al@14908 | 26 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@10779 | 27 } |