wok annotate slitaz-i18n/receipt @ rev 18023

Up: cookutils, cookutils-daemon (726).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 03 17:45:26 2015 +0300 (2015-05-03)
parents cea5a9fa7152
children ec332cdcdbc1
rev   line source
pankso@3087 1 # SliTaz package receipt
pankso@3087 2
pankso@3087 3 PACKAGE="slitaz-i18n"
al@16591 4 VERSION="4.2"
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@17763 19 vorbis-tools vte xorg-xkeyboard-config yad tzdata"
pankso@3087 20
al@17402 21 # Handle slitaz arch: /etc/slitaz/slitaz.conf
al@17402 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 {
pankso@3087 29 mkdir -p $fs/usr/share/doc/slitaz
slaxemulator@9720 30 . $stuff/locale-pack.conf
pankso@10751 31 for p in $CORE_PKGS
pankso@10751 32 do
gokhlayeh@11390 33 if [ ! -d "$WOK/$p/install" ]; then
gokhlayeh@11390 34 if [ -x /usr/bin/cook ]; then
gokhlayeh@11390 35 cook $p
gokhlayeh@11390 36 else
gokhlayeh@11390 37 tazwok cook $p
gokhlayeh@11390 38 fi
gokhlayeh@11390 39 fi
pankso@10751 40 done
pankso@10751 41 # Cook all locale pack.
pankso@6788 42 for i in $LOCALE_PACK
pankso@6788 43 do
slaxemulator@9720 44 if [ -x /usr/bin/cook ]; then
slaxemulator@9720 45 cook locale-$i
slaxemulator@9720 46 elif [ -x /usr/bin/tazwok ]; then
slaxemulator@9720 47 tazwok cook locale-$i
slaxemulator@9720 48 fi
pankso@6788 49 done
pankso@10783 50 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT
pankso@4855 51 SliTaz i18n information
pankso@3087 52 ================================================================================
pankso@3087 53
paul@4858 54 This package provides the necessary functions and configs for the SliTaz locale
paul@4858 55 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to
paul@4858 56 configure the system language.
pankso@4855 57
pankso@3087 58
paul@4858 59 Translated packages files included in the core languages pack (from upstream):
pankso@3087 60 ----
al@16554 61 $(echo $CORE_PKGS | fold -s)
pankso@3087 62 ----
pankso@3087 63
pankso@10751 64 SliTaz i18n project coordination is done on the SCN and doc is on the website:
pankso@3087 65
pankso@10751 66 http://www.slitaz.org/i18n.php
pankso@3087 67
pankso@3087 68
pankso@3087 69 ================================================================================
pankso@10783 70 EOT
pankso@3087 71 }
al@16454 72