wok annotate locale-uk/receipt @ rev 25808

created recipe for xmenu
author Hans-G?nter Theisgen
date Thu Dec 19 16:09:37 2024 +0100 (5 days ago)
parents a52ffca61a1d
children
rev   line source
al@18168 1 # SliTaz package receipt
al@18168 2
al@18168 3 PACKAGE="locale-uk"
al@18168 4 VERSION="5.0"
al@19175 5 CATEGORY="localization"
al@18168 6 SHORT_DESC="Ukrainian locale pack"
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="uk"
al@18168 16 LOCALE_DEPENDS=""
al@18168 17 KBD="ua"
al@18168 18 KB_FLAGS="US:us RU:ru UA:ua"
al@18168 19 GCONV="ISO8859-5 KOI8-R KOI8-U IBM866 CP1251"
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 }