wok-current annotate slitaz-i18n-extra/receipt @ rev 10755

slitaz-i18n-extra: stuff is set only for rules
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 22:14:30 2011 +0200 (2011-05-30)
parents 694a6c62534c
children 859382658ecf
rev   line source
pankso@10751 1 # SliTaz package receipt
pankso@10751 2
pankso@10751 3 PACKAGE="slitaz-i18n-extra"
pankso@10751 4 VERSION="4.0"
pankso@10751 5 CATEGORY="meta"
pankso@10751 6 SHORT_DESC="SliTaz internationalization meta package to build extra locale pack."
pankso@10751 7 MAINTAINER="pankso@slitaz.org"
pankso@10751 8 WEB_SITE="http://www.slitaz.org/"
pankso@10751 9
pankso@10751 10 # Bdeps ensure packages are built so we can get generated po files.
pankso@10755 11 BUILD_DEPENDS="gimp mplayer xine-ui abiword gnumeric sylpheed gftp geany"
pankso@10751 12
pankso@10751 13 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@10751 14 genpkg_rules()
pankso@10751 15 {
pankso@10755 16 . $stuff/locale-pack.conf
pankso@10751 17 for p in $EXTRA_PKGS
pankso@10751 18 do
pankso@10751 19 [ ! -d "$WOK/$p/install" ] && echo "Missing in wok: $p"
pankso@10751 20 done
pankso@10751 21 # Cook all extra locale pack.
pankso@10751 22 for i in $LOCALE_PACK
pankso@10751 23 do
pankso@10751 24 if [ -x /usr/bin/cook ]; then
pankso@10751 25 cook locale-$i
pankso@10751 26 elif [ -x /usr/bin/tazwok ]; then
pankso@10751 27 tazwok cook locale-$i
pankso@10751 28 fi
pankso@10751 29 done
pankso@10751 30 mkdir -p $fs/usr
pankso@10751 31 }