wok-6.x view locale-de/receipt @ rev 16451
glibc-base: default locale is only en_US, other are moved to locale-** (say not to duplicate files); some locale definition files has their dependencies
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 19 12:09:55 2014 +0300 (2014-04-19) |
parents | 48d3d669a814 |
children | c4533f65e171 |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-de"
4 VERSION="4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="German locale pack."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.slitaz.org/"
11 WANTED="glibc slitaz-i18n xorg-libX11"
12 DEPENDS="glibc-base"
14 LOCALE="de"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 . $WOK/slitaz-i18n/stuff/locale-pack.functions
20 . $WOK/slitaz-i18n/stuff/locale-pack.conf
21 get_locale
23 # "de_BE" locale definition based on "fr_BE" locale definition file
24 cp -a $WOK/glibc/install/usr/share/i18n/locales/fr_BE $fs/usr/share/i18n/locales
25 }
27 # Back to C if it's the last used locale.
28 post_remove()
29 {
30 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf
31 }