wok-6.x annotate locale-sv/receipt @ rev 17402
Try to 'arm'-ize tzdata, slitaz-i18n, and locale-* packages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 28 01:22:40 2014 +0200 (2014-11-28) |
parents | c667db027c32 |
children | ec332cdcdbc1 |
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@17402 | 10 HOST_ARCH="i486 arm" |
al@14908 | 11 |
al@14908 | 12 WANTED="glibc slitaz-i18n xorg-libX11" |
pankso@10752 | 13 DEPENDS="glibc-base" |
pankso@10752 | 14 |
pankso@10752 | 15 LOCALE="sv" |
al@16591 | 16 LOCALE_DEPENDS="fi_FI fi_FI@euro" # for sv_FI and sv_FI@euro |
al@16591 | 17 KB_FLAGS="" |
al@16591 | 18 GCONV="" |
pankso@10752 | 19 |
pankso@10752 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10752 | 21 genpkg_rules() |
pankso@10752 | 22 { |
pankso@10752 | 23 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10752 | 24 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 25 get_locale |
pankso@10752 | 26 } |
pankso@10752 | 27 |
pankso@10752 | 28 # Back to C if it's the last used locale. |
pankso@10752 | 29 post_remove() |
pankso@10752 | 30 { |
al@14908 | 31 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@10752 | 32 } |