wok-next annotate slitaz-i18n/receipt @ rev 18620
Up slitaz-base-files(287)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 21 17:54:19 2015 +0200 (2015-11-21) |
parents | bfb4eab7f59f |
children | 976258eee7d9 |
rev | line source |
---|---|
pankso@3087 | 1 # SliTaz package receipt |
pankso@3087 | 2 |
pankso@3087 | 3 PACKAGE="slitaz-i18n" |
al@18168 | 4 VERSION="5.0" |
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 |
al@18168 | 31 for p in $CORE_PKGS; do |
gokhlayeh@11390 | 32 if [ ! -d "$WOK/$p/install" ]; then |
gokhlayeh@11390 | 33 if [ -x /usr/bin/cook ]; then |
gokhlayeh@11390 | 34 cook $p |
al@18168 | 35 elif [ -x /usr/bin/tazwok ]; then |
gokhlayeh@11390 | 36 tazwok cook $p |
gokhlayeh@11390 | 37 fi |
gokhlayeh@11390 | 38 fi |
pankso@10751 | 39 done |
pankso@10751 | 40 # Cook all locale pack. |
al@18168 | 41 for i in $LOCALE_PACK; do |
slaxemulator@9720 | 42 if [ -x /usr/bin/cook ]; then |
slaxemulator@9720 | 43 cook locale-$i |
slaxemulator@9720 | 44 elif [ -x /usr/bin/tazwok ]; then |
slaxemulator@9720 | 45 tazwok cook locale-$i |
slaxemulator@9720 | 46 fi |
pankso@6788 | 47 done |
al@18168 | 48 cat > $fs/usr/share/doc/slitaz/i18n.txt <<EOT |
pankso@4855 | 49 SliTaz i18n information |
pankso@3087 | 50 ================================================================================ |
pankso@3087 | 51 |
al@18168 | 52 This package provides the necessary functions and configs for the SliTaz locale |
al@18168 | 53 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
paul@4858 | 54 configure the system language. |
pankso@4855 | 55 |
pankso@3087 | 56 |
paul@4858 | 57 Translated packages files included in the core languages pack (from upstream): |
pankso@3087 | 58 ---- |
al@16554 | 59 $(echo $CORE_PKGS | fold -s) |
pankso@3087 | 60 ---- |
pankso@3087 | 61 |
pankso@10751 | 62 SliTaz i18n project coordination is done on the SCN and doc is on the website: |
pankso@3087 | 63 |
pankso@10751 | 64 http://www.slitaz.org/i18n.php |
pankso@3087 | 65 |
pankso@3087 | 66 |
pankso@3087 | 67 ================================================================================ |
pankso@10783 | 68 EOT |
pankso@3087 | 69 } |