wok annotate locale-it/receipt @ rev 15213
Add nbd
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 13 12:21:17 2013 +0000 (2013-09-13) |
parents | bcfe199cef3f |
children | 48d3d669a814 |
rev | line source |
---|---|
pankso@724 | 1 # SliTaz package receipt |
pankso@724 | 2 |
pankso@724 | 3 PACKAGE="locale-it" |
al@14908 | 4 VERSION="4.1" |
pankso@724 | 5 CATEGORY="system-tools" |
pankso@724 | 6 SHORT_DESC="Italian locale pack." |
pankso@724 | 7 MAINTAINER="pankso@slitaz.org" |
al@14908 | 8 WEB_SITE="http://www.slitaz.org/" |
al@14908 | 9 |
al@14908 | 10 WANTED="glibc slitaz-i18n xorg-libX11" |
pankso@724 | 11 DEPENDS="glibc-base" |
pankso@724 | 12 |
pankso@724 | 13 LOCALE="it" |
pankso@724 | 14 |
pankso@724 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@724 | 16 genpkg_rules() |
pankso@3091 | 17 { |
slaxemulator@9701 | 18 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
slaxemulator@9701 | 19 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@14908 | 20 get_locale |
pankso@724 | 21 } |
pankso@724 | 22 |
pankso@724 | 23 # Back to C if it's the last used locale. |
pankso@724 | 24 post_remove() |
pankso@724 | 25 { |
al@14908 | 26 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@724 | 27 } |