wok annotate slitaz-i18n/receipt @ rev 25130

e4rat: modified recipe
author Hans-G?nter Theisgen
date Wed Jun 29 07:04:49 2022 +0100 (2022-06-29)
parents f2fe8c08dc89
children
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 \
al@16554 16 libidn liblzma libwebkit lxappearance lxinput lxpanel lxrandr lxsession \
al@16554 17 lxsession-edit lxtask mhwaveedit midori mtpaint nano obconf openbox 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"
pankso@3087 20
al@17402 21 # Handle slitaz arch: /etc/slitaz/slitaz.conf
al@19522 22 case "$SLITAZ_ARCH" in
al@17402 23 arm*) BUILD_DEPENDS="" ;;
al@17402 24 esac
al@17402 25
pankso@3087 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@3087 27 genpkg_rules()
pankso@3087 28 {
pascal@19465 29 # Allow to build the packages who want me...
al@19500 30 sed -i "/^$PACKAGE\$/d" $CACHE/broken 2>/dev/null || true
pascal@19465 31
pankso@3087 32 mkdir -p $fs/usr/share/doc/slitaz
slaxemulator@9720 33 . $stuff/locale-pack.conf
al@18168 34 for p in $CORE_PKGS; do
al@19500 35 [ ! -d "$WOK/$p/install" ] && cook $p
pankso@10751 36 done
al@19500 37
al@19500 38 # Cook all locale-* packages
al@18168 39 for i in $LOCALE_PACK; do
al@19500 40 [ -d "$WOK/locale-$i" ] && cook locale-$i
pankso@6788 41 done
al@19500 42
al@19455 43 # Recook tzdata package: we move files from tzdata to locale-* packages
al@19455 44 cook tzdata
al@19455 45
al@18168 46 cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT
pankso@4855 47 SliTaz i18n information
pankso@3087 48 ================================================================================
pankso@3087 49
al@18168 50 This package provides the necessary functions and configs for the SliTaz locale
al@18168 51 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
paul@4858 52 configure the system language.
pankso@4855 53
pankso@3087 54
paul@4858 55 Translated packages files included in the core languages pack (from upstream):
pankso@3087 56 ----
al@16554 57 $(echo $CORE_PKGS | fold -s)
pankso@3087 58 ----
pankso@3087 59
pankso@10751 60 SliTaz i18n project coordination is done on the SCN and doc is on the website:
pankso@3087 61
pankso@10751 62 http://www.slitaz.org/i18n.php
pankso@3087 63
pankso@3087 64
pankso@3087 65 ================================================================================
pankso@10783 66 EOT
pankso@3087 67 }