wok-current annotate locale-id/receipt @ rev 15078
grub: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 17:02:48 2013 +0000 (2013-08-13) |
parents | bcfe199cef3f |
children | 48d3d669a814 |
rev | line source |
---|---|
pankso@950 | 1 # SliTaz package receipt |
pankso@950 | 2 |
pankso@950 | 3 PACKAGE="locale-id" |
al@14908 | 4 VERSION="4.1" |
pankso@950 | 5 CATEGORY="system-tools" |
pankso@950 | 6 SHORT_DESC="Indonesian locale pack." |
pankso@950 | 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@950 | 11 DEPENDS="glibc-base" |
pankso@950 | 12 |
pankso@950 | 13 LOCALE="id" |
pankso@950 | 14 |
pankso@950 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@950 | 16 genpkg_rules() |
al@14908 | 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@950 | 21 } |
pankso@950 | 22 |
pankso@950 | 23 # Back to C if it's the last used locale. |
pankso@950 | 24 post_remove() |
pankso@950 | 25 { |
al@14908 | 26 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
pankso@950 | 27 } |