wok-current annotate slitaz-i18n/receipt @ rev 25629

Mass updates for current
author Stanislas Leduc <shann@slitaz.org>
date Wed Oct 11 18:45:46 2023 +0000 (8 months ago)
parents fdecffdbd77d
children 3ad63c8fc2f9
rev   line source
pankso@3087 1 # SliTaz package receipt
pankso@3087 2
pankso@3087 3 PACKAGE="slitaz-i18n"
al@19522 4 VERSION="161124"
pankso@10751 5 CATEGORY="meta"
paul@4858 6 SHORT_DESC="SliTaz internationalization meta package to build locale pack."
pankso@3087 7 MAINTAINER="pankso@slitaz.org"
pascal@15579 8 LICENSE="GPL3"
pankso@10751 9 WEB_SITE="http://www.slitaz.org/"
al@17402 10 HOST_ARCH="i486 arm"
pankso@10751 11
pankso@10751 12 # Bdeps ensure packages are built so we can get generated po files.
al@14225 13 BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \
al@16554 14 elfutils epdfview galculator gdk-pixbuf glib glibc-base glib-networking \
al@16554 15 gparted gpicview gtk+ gvfs kbd-base leafpad libfm libgnutls libgpg-error \
shann@25629 16 libidn liblzma webkitgtk lxappearance lxinput lxpanel lxrandr lxsession \
shann@25629 17 lxsession-edit lxtask mhwaveedit midori mtpaint nano parted \
al@16554 18 pcmanfm polkit popt sakura shared-mime-info udisks2 util-linux-blkid \
pascal@19782 19 vorbis-tools vte xorg-xkeyboard-config yad-gtk2 tzdata"
shann@25629 20 # exclude obconf openbox to avoid loop with slitaz-configs
pankso@3087 21
al@17402 22 # Handle slitaz arch: /etc/slitaz/slitaz.conf
al@19522 23 case "$SLITAZ_ARCH" in
al@17402 24 arm*) BUILD_DEPENDS="" ;;
al@17402 25 esac
al@17402 26
pankso@3087 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3087 28 genpkg_rules()
pankso@3087 29 {
pascal@19465 30 # Allow to build the packages who want me...
al@19500 31 sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true
pascal@19465 32
pankso@3087 33 mkdir -p $fs/usr/share/doc/slitaz
slaxemulator@9720 34 . $stuff/locale-pack.conf
al@18168 35 for p in $CORE_PKGS; do
al@19500 36 [ ! -d "$WOK/$p/install" ] && cook $p
pankso@10751 37 done
al@19500 38
al@19500 39 # Cook all locale-* packages
al@18168 40 for i in $LOCALE_PACK; do
al@19500 41 [ -d "$WOK/locale-$i" ] && cook locale-$i
pankso@6788 42 done
al@19500 43
al@19455 44 # Recook tzdata package: we move files from tzdata to locale-* packages
al@19455 45 cook tzdata
al@19455 46
al@18168 47 cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
pankso@4855 48 SliTaz i18n information
pankso@3087 49 ================================================================================
pankso@3087 50
al@18168 51 This package provides the necessary functions and configs for the SliTaz locale
al@18168 52 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
paul@4858 53 configure the system language.
pankso@4855 54
pankso@3087 55
paul@4858 56 Translated packages files included in the core languages pack (from upstream):
pankso@3087 57 ----
al@16554 58 $(echo $CORE_PKGS | fold -s)
pankso@3087 59 ----
pankso@3087 60
pankso@10751 61 SliTaz i18n project coordination is done on the SCN and doc is on the website:
pankso@3087 62
pankso@10751 63 http://www.slitaz.org/i18n.php
pankso@3087 64
pankso@3087 65
pankso@3087 66 ================================================================================
pankso@10783 67 EOT
pankso@3087 68 }