wok-undigest annotate slitaz-i18n/receipt @ rev 964
slitaz-i18n: copy from wok; try to fix build depends: dconf, granite, extended-actions; can't understand: tumbler can't support libgsf-1 and poppler, why?
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 15 17:50:58 2013 +0000 (2013-03-15) |
parents | |
children |
rev | line source |
---|---|
al@964 | 1 # SliTaz package receipt |
al@964 | 2 |
al@964 | 3 PACKAGE="slitaz-i18n" |
al@964 | 4 VERSION="4.0" |
al@964 | 5 CATEGORY="meta" |
al@964 | 6 SHORT_DESC="SliTaz internationalization meta package to build locale pack." |
al@964 | 7 MAINTAINER="pankso@slitaz.org" |
al@964 | 8 WEB_SITE="http://www.slitaz.org/" |
al@964 | 9 |
al@964 | 10 # Bdeps ensure packages are built so we can get generated po files. |
al@964 | 11 BUILD_DEPENDS="asunder alsaplayer epdfview galculator viewnior gparted nano \ |
al@964 | 12 glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm midori mtpaint \ |
al@964 | 13 mhwaveedit lostirc" |
al@964 | 14 |
al@964 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@964 | 16 genpkg_rules() |
al@964 | 17 { |
al@964 | 18 mkdir -p $fs/usr/share/doc/slitaz |
al@964 | 19 . $stuff/locale-pack.conf |
al@964 | 20 for p in $CORE_PKGS |
al@964 | 21 do |
al@964 | 22 if [ ! -d "$WOK/$p/install" ]; then |
al@964 | 23 if [ -x /usr/bin/cook ]; then |
al@964 | 24 cook $p |
al@964 | 25 else |
al@964 | 26 tazwok cook $p |
al@964 | 27 fi |
al@964 | 28 fi |
al@964 | 29 done |
al@964 | 30 # Cook all locale pack. |
al@964 | 31 for i in $LOCALE_PACK |
al@964 | 32 do |
al@964 | 33 if [ -x /usr/bin/cook ]; then |
al@964 | 34 cook locale-$i |
al@964 | 35 elif [ -x /usr/bin/tazwok ]; then |
al@964 | 36 tazwok cook locale-$i |
al@964 | 37 fi |
al@964 | 38 done |
al@964 | 39 cat > $fs/usr/share/doc/slitaz/i18n.txt << EOT |
al@964 | 40 SliTaz i18n information |
al@964 | 41 ================================================================================ |
al@964 | 42 |
al@964 | 43 This package provides the necessary functions and configs for the SliTaz locale |
al@964 | 44 pack. SliTaz uses UTF-8 by default and tazlocale (from SliTaz tools) to |
al@964 | 45 configure the system language. |
al@964 | 46 |
al@964 | 47 |
al@964 | 48 Translated packages files included in the core languages pack (from upstream): |
al@964 | 49 ---- |
al@964 | 50 $CORE_PKGS |
al@964 | 51 ---- |
al@964 | 52 |
al@964 | 53 SliTaz i18n project coordination is done on the SCN and doc is on the website: |
al@964 | 54 |
al@964 | 55 http://www.slitaz.org/i18n.php |
al@964 | 56 |
al@964 | 57 |
al@964 | 58 ================================================================================ |
al@964 | 59 EOT |
al@964 | 60 } |