wok annotate locale-nn/receipt @ rev 25096
created recipe for wordgrinder
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jun 18 15:13:12 2022 +0100 (2022-06-18) |
parents | a52ffca61a1d |
children |
rev | line source |
---|---|
al@18168 | 1 # SliTaz package receipt |
al@18168 | 2 |
al@18168 | 3 PACKAGE="locale-nn" |
al@18168 | 4 VERSION="5.0" |
al@19175 | 5 CATEGORY="localization" |
al@18168 | 6 SHORT_DESC="Norwegian locale pack (Nynorsk)" |
al@18168 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@18168 | 8 LICENSE="GPL3" |
al@18168 | 9 WEB_SITE="http://www.slitaz.org/" |
al@18168 | 10 HOST_ARCH="i486 arm" |
al@18168 | 11 |
al@18168 | 12 WANTED="glibc slitaz-i18n xorg-libX11 flag-icons tzdata kbd" |
al@18168 | 13 DEPENDS="glibc-base" |
al@18168 | 14 |
al@18168 | 15 LOCALE="nn" |
al@18168 | 16 LOCALE_DEPENDS="" |
al@18168 | 17 KBD="no-latin1" |
al@18168 | 18 KB_FLAGS="NO:no" |
al@18168 | 19 GCONV="ISO8859-1 ISO8859-15" |
al@18168 | 20 |
al@18168 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@18168 | 22 genpkg_rules() |
al@18168 | 23 { |
al@18168 | 24 . $WOK/slitaz-i18n/stuff/locale-pack.functions |
al@18168 | 25 . $WOK/slitaz-i18n/stuff/locale-pack.conf |
al@18168 | 26 get_locale |
al@18168 | 27 } |
al@18168 | 28 |
al@18168 | 29 # Back to C if it's the last used locale. |
al@18168 | 30 post_remove() |
al@18168 | 31 { |
pascal@22367 | 32 grep -qs =$LOCALE /etc/locale.conf && |
al@18168 | 33 echo -e "LANG=C\nLC_ALL=C" > /etc/locale.conf |
al@18168 | 34 } |