wok-next annotate locale-sl/receipt @ rev 11159
Up: lame to 3.99.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Nov 02 06:47:33 2011 +0000 (2011-11-02) |
parents | 6a16e4339314 |
children | bcfe199cef3f |
rev | line source |
---|---|
pankso@2304 | 1 # SliTaz package receipt |
pankso@2304 | 2 |
pankso@2304 | 3 PACKAGE="locale-sl" |
pankso@10739 | 4 VERSION="4.0" |
pankso@2304 | 5 CATEGORY="system-tools" |
pankso@2304 | 6 SHORT_DESC="Slovenian locale pack." |
pankso@2304 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2304 | 8 DEPENDS="glibc-base" |
pankso@3087 | 9 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n" |
pankso@2304 | 10 WEB_SITE="http://www.slitaz.org/" |
pankso@2304 | 11 |
pankso@2304 | 12 LOCALE="sl" |
pankso@2304 | 13 LOCALEDEF="sl_SI" |
pankso@2304 | 14 CHARMAP="UTF-8" |
pankso@2304 | 15 |
pankso@2304 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2304 | 17 genpkg_rules() |
pankso@3091 | 18 { |
slaxemulator@9701 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 20 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pankso@3087 | 21 mk_locale_dir |
pankso@3087 | 22 get_slitaz_messages |
pankso@3087 | 23 get_core_messages |
pankso@2304 | 24 } |
pankso@2304 | 25 |
pankso@2304 | 26 # Back to C if it's the last used locale. |
pankso@2304 | 27 post_remove() |
pankso@2304 | 28 { |
pankso@2304 | 29 if grep -q $LOCALEDEF /etc/locale.conf; then |
pankso@2304 | 30 echo "LANG=C" > /etc/locale.conf |
pankso@2304 | 31 echo "LC_ALL=C" >> /etc/locale.conf |
pankso@2304 | 32 fi |
pankso@2304 | 33 } |