wok-next annotate locale-sl/receipt @ rev 14590
drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 00:27:59 2013 +0000 (2013-05-27) |
parents | ee88cfdf14a2 |
children | 874b0d62ff7e |
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/" |
pascal@11854 | 11 WANTED="slitaz-i18n" |
pankso@2304 | 12 |
pankso@2304 | 13 LOCALE="sl" |
pankso@2304 | 14 LOCALEDEF="sl_SI" |
pankso@2304 | 15 CHARMAP="UTF-8" |
pankso@2304 | 16 |
pankso@2304 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2304 | 18 genpkg_rules() |
pankso@3091 | 19 { |
slaxemulator@9701 | 20 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 21 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
pankso@3087 | 22 mk_locale_dir |
pankso@3087 | 23 get_slitaz_messages |
pankso@3087 | 24 get_core_messages |
pankso@2304 | 25 } |
pankso@2304 | 26 |
pankso@2304 | 27 # Back to C if it's the last used locale. |
pankso@2304 | 28 post_remove() |
pankso@2304 | 29 { |
pankso@2304 | 30 if grep -q $LOCALEDEF /etc/locale.conf; then |
pankso@2304 | 31 echo "LANG=C" > /etc/locale.conf |
pankso@2304 | 32 echo "LC_ALL=C" >> /etc/locale.conf |
pankso@2304 | 33 fi |
pankso@2304 | 34 } |