wok-next view locale-pl/receipt @ rev 14902
Add locale-pl, tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jul 31 14:01:55 2013 +0300 (2013-07-31) |
parents | |
children | f1e757631080 |
line source
1 # SliTaz package receipt
3 PACKAGE="locale-pl"
4 VERSION="4.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Polish locale pack"
7 MAINTAINER="al.bobylev@gmail.com"
8 WEB_SITE="http://www.slitaz.org/"
10 WANTED="slitaz-i18n xorg-libX11"
11 DEPENDS="glibc-base"
12 BUILD_DEPENDS="glibc glibc-locale slitaz-i18n"
14 LOCALE="pl"
15 LOCALEDEF="pl_PL"
16 CHARMAP="UTF-8"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 . $WOK/slitaz-i18n/stuff/locale-pack.functions
22 . $WOK/slitaz-i18n/stuff/locale-pack.conf
23 mk_locale_dir
24 get_slitaz_messages
25 get_core_messages
26 get_x11_locale
27 }
29 # Back to C if it's the last used locale.
30 post_remove()
31 {
32 if grep -q $LOCALEDEF /etc/locale.conf; then
33 echo "LANG=C" > /etc/locale.conf
34 echo "LC_ALL=C" >> /etc/locale.conf
35 fi
36 }