wok annotate locale-sl/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@2304 1 # SliTaz package receipt
pankso@2304 2
pankso@2304 3 PACKAGE="locale-sl"
al@14908 4 VERSION="4.1"
pankso@2304 5 CATEGORY="system-tools"
pankso@2304 6 SHORT_DESC="Slovenian locale pack."
pankso@2304 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@2304 11 DEPENDS="glibc-base"
pankso@2304 12
pankso@2304 13 LOCALE="sl"
pankso@2304 14
pankso@2304 15 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2304 16 genpkg_rules()
pankso@3091 17 {
slaxemulator@9701 18 . $WOK/slitaz-i18n/stuff/locale-pack.functions
slaxemulator@9701 19 . $WOK/slitaz-i18n/stuff/locale-pack.conf
al@14908 20 get_locale
pankso@2304 21 }
pankso@2304 22
pankso@2304 23 # Back to C if it's the last used locale.
pankso@2304 24 post_remove()
pankso@2304 25 {
al@14908 26 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
pankso@2304 27 }