wok-current annotate locale-sv/receipt @ rev 16591
slitaz-i18n: encodings are still used in translations and web pages, so add gconv modules to locale packages. Add: full set of locale-xx-extra. Up: all locale-xx, locale-xx-extra, slitaz-i18n, slitaz-i18n-extra (4.2). Up slitaz-tools, slitaz-tools-boxes (5.8.6)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 06 23:19:04 2014 +0300 (2014-05-06) |
parents | c4533f65e171 |
children | cea5a9fa7152 |
rev | line source |
---|---|
pankso@10752 | 1 # SliTaz package receipt |
pankso@10752 | 2 |
pankso@10752 | 3 PACKAGE="locale-sv" |
al@16591 | 4 VERSION="4.2" |
pankso@10752 | 5 CATEGORY="system-tools" |
pankso@10752 | 6 SHORT_DESC="Swedish locale pack." |
pankso@10752 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15604 | 8 LICENSE="GPL3" |
al@14908 | 9 WEB_SITE="http://www.slitaz.org/" |
al@14908 | 10 |
al@14908 | 11 WANTED="glibc slitaz-i18n xorg-libX11" |
pankso@10752 | 12 DEPENDS="glibc-base" |
pankso@10752 | 13 |
pankso@10752 | 14 LOCALE="sv" |
al@16591 | 15 LOCALE_DEPENDS="fi_FI fi_FI@euro" # for sv_FI and sv_FI@euro |
al@16591 | 16 KB_FLAGS="" |
al@16591 | 17 GCONV="" |
pankso@10752 | 18 |
pankso@10752 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10752 | 20 genpkg_rules() |
pankso@10752 | 21 { |
pankso@10752 | 22 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10752 | 23 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 24 get_locale |
pankso@10752 | 25 } |
pankso@10752 | 26 |
pankso@10752 | 27 # Back to C if it's the last used locale. |
pankso@10752 | 28 post_remove() |
pankso@10752 | 29 { |
al@14908 | 30 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@10752 | 31 } |