wok annotate locale-pt/receipt @ rev 12281

Add razor-qt (Light, fast QT based Desktop Environment)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 15 14:00:30 2012 +0200 (2012-04-15)
parents bcfe199cef3f
children 874b0d62ff7e
rev   line source
pankso@3035 1 # SliTaz package receipt
pankso@3035 2
pankso@3035 3 PACKAGE="locale-pt"
pankso@10739 4 VERSION="4.0"
pankso@3035 5 CATEGORY="system-tools"
pankso@10778 6 SHORT_DESC="Portuguese locale pack."
pankso@3035 7 MAINTAINER="pankso@slitaz.org"
pankso@3035 8 DEPENDS="glibc-base"
pankso@3087 9 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n"
pankso@3035 10 WEB_SITE="http://www.slitaz.org/"
pascal@11854 11 WANTED="slitaz-i18n"
pankso@3035 12
pankso@3087 13 LOCALE="pt"
pankso@10778 14 LOCALEDEF="pt_PT"
pankso@4855 15 CHARMAP="UTF-8"
pankso@3035 16
pankso@3035 17 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3035 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@3035 25 }
pankso@3035 26
pankso@3035 27 # Back to C if it's the last used locale.
pankso@3035 28 post_remove()
pankso@3035 29 {
pankso@3035 30 if grep -q $LOCALEDEF /etc/locale.conf; then
pankso@3035 31 echo "LANG=C" > /etc/locale.conf
pankso@3035 32 echo "LC_ALL=C" >> /etc/locale.conf
pankso@3035 33 fi
pankso@3035 34 }