wok-next annotate locale-da/receipt @ rev 18289
knock: set default interface
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 14 10:06:48 2015 +0200 (2015-08-14) |
parents | cea5a9fa7152 |
children | 7042a09beaeb |
rev | line source |
---|---|
pankso@10779 | 1 # SliTaz package receipt |
pankso@10779 | 2 |
pankso@10779 | 3 PACKAGE="locale-da" |
al@18168 | 4 VERSION="5.0" |
pankso@10779 | 5 CATEGORY="system-tools" |
al@18168 | 6 SHORT_DESC="Danish locale pack" |
pankso@10779 | 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@18168 | 12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd" |
pankso@10779 | 13 DEPENDS="glibc-base" |
pankso@10779 | 14 |
pankso@10779 | 15 LOCALE="da" |
al@16591 | 16 LOCALE_DEPENDS="" |
al@18168 | 17 KBD="dk-latin1" |
al@18168 | 18 KB_FLAGS="DK:dk" |
al@18168 | 19 GCONV="IBM865 ISO8859-1 ISO8859-15" |
pankso@10779 | 20 |
pankso@10779 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@10779 | 22 genpkg_rules() |
pankso@10779 | 23 { |
pankso@10779 | 24 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
pankso@10779 | 25 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 26 get_locale |
pankso@10779 | 27 } |
pankso@10779 | 28 |
pankso@10779 | 29 # Back to C if it's the last used locale. |
pankso@10779 | 30 post_remove() |
pankso@10779 | 31 { |
al@14908 | 32 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@10779 | 33 } |