wok-next annotate slitaz-i18n/receipt @ rev 15846
python-distribute: Fixed WGET_URL.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Jan 27 06:32:12 2014 +0000 (2014-01-27) |
parents | b042fcb86c79 |
children | fc790c298ba1 |
rev | line source |
---|---|
pankso@3087 | 1 # SliTaz package receipt |
pankso@3087 | 2 |
pankso@3087 | 3 PACKAGE="slitaz-i18n" |
al@14908 | 4 VERSION="4.1" |
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/" |
pankso@10751 | 10 |
pankso@10751 | 11 # Bdeps ensure packages are built so we can get generated po files. |
al@14225 | 12 BUILD_DEPENDS="acl alsaplayer alsa-utils asunder atk attr dialog e2fsprogs \ |
al@14908 | 13 epdfview galculator gcc-lib-base gcolor2 gdk-pixbuf glib glibc-base \ |
al@14908 | 14 gparted gtk+ isomaster kbd leafpad libwebkit lostirc lxappearance lxpanel \ |
al@14225 | 15 lxrandr lxtask mhwaveedit midori mtpaint nano obconf openbox parcellite parted \ |
al@14908 | 16 spacefm popt retawq sakura transmission viewnior yad lxsession lxsession-edit \ |
al@14909 | 17 lxinput slitaz-configs" |
pankso@3087 | 18 |
pankso@3087 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3087 | 20 genpkg_rules() |
pankso@3087 | 21 { |
pankso@3087 | 22 mkdir -p $fs/usr/share/doc/slitaz |
slaxemulator@9720 | 23 . $stuff/locale-pack.conf |
pankso@10751 | 24 for p in $CORE_PKGS |
pankso@10751 | 25 do |
gokhlayeh@11390 | 26 if [ ! -d "$WOK/$p/install" ]; then |
gokhlayeh@11390 | 27 if [ -x /usr/bin/cook ]; then |
gokhlayeh@11390 | 28 cook $p |
gokhlayeh@11390 | 29 else |
gokhlayeh@11390 | 30 tazwok cook $p |
gokhlayeh@11390 | 31 fi |
gokhlayeh@11390 | 32 fi |
pankso@10751 | 33 done |
pankso@10751 | 34 # Cook all locale pack. |
pankso@6788 | 35 for i in $LOCALE_PACK |
pankso@6788 | 36 do |
slaxemulator@9720 | 37 if [ -x /usr/bin/cook ]; then |
slaxemulator@9720 | 38 cook locale-$i |
slaxemulator@9720 | 39 elif [ -x /usr/bin/tazwok ]; then |
slaxemulator@9720 | 40 tazwok cook locale-$i |
slaxemulator@9720 | 41 fi |
pankso@6788 | 42 done |
pankso@10783 | 43 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT |
pankso@4855 | 44 SliTaz i18n information |
pankso@3087 | 45 ================================================================================ |
pankso@3087 | 46 |
paul@4858 | 47 This package provides the necessary functions and configs for the SliTaz locale |
paul@4858 | 48 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
paul@4858 | 49 configure the system language. |
pankso@4855 | 50 |
pankso@3087 | 51 |
paul@4858 | 52 Translated packages files included in the core languages pack (from upstream): |
pankso@3087 | 53 ---- |
pankso@3087 | 54 $CORE_PKGS |
pankso@3087 | 55 ---- |
pankso@3087 | 56 |
pankso@10751 | 57 SliTaz i18n project coordination is done on the SCN and doc is on the website: |
pankso@3087 | 58 |
pankso@10751 | 59 http://www.slitaz.org/i18n.php |
pankso@3087 | 60 |
pankso@3087 | 61 |
pankso@3087 | 62 ================================================================================ |
pankso@10783 | 63 EOT |
pankso@3087 | 64 } |