wok-current annotate slitaz-i18n/receipt @ rev 17035
slitaz-configs-base: use chroot in post_install()
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 18 08:45:31 2014 +0000 (2014-08-18) |
parents | 92fe9ef9577e |
children | cea5a9fa7152 |
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/" |
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@16554 | 13 elfutils epdfview galculator gdk-pixbuf glib glibc-base glib-networking \ |
al@16554 | 14 gparted gpicview gtk+ gvfs kbd-base leafpad libfm libgnutls libgpg-error \ |
al@16554 | 15 libidn liblzma libwebkit lxappearance lxinput lxpanel lxrandr lxsession \ |
al@16554 | 16 lxsession-edit lxtask mhwaveedit midori mtpaint nano obconf openbox parted \ |
al@16554 | 17 pcmanfm polkit popt sakura shared-mime-info udisks2 util-linux-blkid \ |
al@16554 | 18 vorbis-tools vte xorg-xkeyboard-config yad" |
pankso@3087 | 19 |
pankso@3087 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@3087 | 21 genpkg_rules() |
pankso@3087 | 22 { |
pankso@3087 | 23 mkdir -p $fs/usr/share/doc/slitaz |
slaxemulator@9720 | 24 . $stuff/locale-pack.conf |
pankso@10751 | 25 for p in $CORE_PKGS |
pankso@10751 | 26 do |
gokhlayeh@11390 | 27 if [ ! -d "$WOK/$p/install" ]; then |
gokhlayeh@11390 | 28 if [ -x /usr/bin/cook ]; then |
gokhlayeh@11390 | 29 cook $p |
gokhlayeh@11390 | 30 else |
gokhlayeh@11390 | 31 tazwok cook $p |
gokhlayeh@11390 | 32 fi |
gokhlayeh@11390 | 33 fi |
pankso@10751 | 34 done |
pankso@10751 | 35 # Cook all locale pack. |
pankso@6788 | 36 for i in $LOCALE_PACK |
pankso@6788 | 37 do |
slaxemulator@9720 | 38 if [ -x /usr/bin/cook ]; then |
slaxemulator@9720 | 39 cook locale-$i |
slaxemulator@9720 | 40 elif [ -x /usr/bin/tazwok ]; then |
slaxemulator@9720 | 41 tazwok cook locale-$i |
slaxemulator@9720 | 42 fi |
pankso@6788 | 43 done |
pankso@10783 | 44 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT |
pankso@4855 | 45 SliTaz i18n information |
pankso@3087 | 46 ================================================================================ |
pankso@3087 | 47 |
paul@4858 | 48 This package provides the necessary functions and configs for the SliTaz locale |
paul@4858 | 49 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
paul@4858 | 50 configure the system language. |
pankso@4855 | 51 |
pankso@3087 | 52 |
paul@4858 | 53 Translated packages files included in the core languages pack (from upstream): |
pankso@3087 | 54 ---- |
al@16554 | 55 $(echo $CORE_PKGS | fold -s) |
pankso@3087 | 56 ---- |
pankso@3087 | 57 |
pankso@10751 | 58 SliTaz i18n project coordination is done on the SCN and doc is on the website: |
pankso@3087 | 59 |
pankso@10751 | 60 http://www.slitaz.org/i18n.php |
pankso@3087 | 61 |
pankso@3087 | 62 |
pankso@3087 | 63 ================================================================================ |
pankso@10783 | 64 EOT |
pankso@3087 | 65 } |
al@16454 | 66 |