wok-current annotate locale-is/receipt @ rev 25521

created recipes for unibilium and unibilium-dev 2.1.1
author Hans-G?nter Theisgen
date Fri Feb 24 17:05:40 2023 +0100 (21 months ago)
parents a52ffca61a1d
children
rev   line source
al@18168 1 # SliTaz package receipt
al@18168 2
al@18168 3 PACKAGE="locale-is"
al@18168 4 VERSION="5.0"
al@19175 5 CATEGORY="localization"
al@18168 6 SHORT_DESC="Icelandic 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="is"
al@18168 16 LOCALE_DEPENDS=""
al@18168 17 KBD="is-latin1"
al@18168 18 KB_FLAGS="IS:is"
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 }