wok-stable annotate locale-de/receipt @ rev 11433

freetype1-dev: move *a files to the correct path
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 16 15:42:01 2011 +0100 (2011-12-16)
parents 6a16e4339314
children bcfe199cef3f
rev   line source
pankso@724 1 # SliTaz package receipt
pankso@724 2
pankso@724 3 PACKAGE="locale-de"
pankso@10739 4 VERSION="4.0"
pankso@724 5 CATEGORY="system-tools"
pankso@724 6 SHORT_DESC="German locale pack."
pankso@724 7 MAINTAINER="pankso@slitaz.org"
pankso@724 8 DEPENDS="glibc-base"
pankso@3087 9 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n"
pankso@724 10 WEB_SITE="http://www.slitaz.org/"
pankso@724 11
pankso@724 12 LOCALE="de"
pankso@724 13 LOCALEDEF="de_DE"
pankso@4855 14 CHARMAP="UTF-8"
pankso@724 15
pankso@724 16 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@724 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@724 24 }
pankso@724 25
pankso@724 26 # Back to C if it's the last used locale.
pankso@724 27 post_remove()
pankso@724 28 {
pankso@724 29 if grep -q $LOCALEDEF /etc/locale.conf; then
pankso@724 30 echo "LANG=C" > /etc/locale.conf
pankso@724 31 echo "LC_ALL=C" >> /etc/locale.conf
pankso@724 32 fi
pankso@724 33 }