wok-next rev 11390

Update BUILD_DEPENDS of slitaz-18n according co CORE_PKGS; ensure thoses are cooked before slitaz-18n
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 05:08:01 2011 +0100 (2011-12-10)
parents f6ca653dfa74
children 30290f07d3ed
files slitaz-i18n/receipt
line diff
     1.1 --- a/slitaz-i18n/receipt	Sat Dec 10 05:03:51 2011 +0100
     1.2 +++ b/slitaz-i18n/receipt	Sat Dec 10 05:08:01 2011 +0100
     1.3 @@ -8,8 +8,9 @@
     1.4  WEB_SITE="http://www.slitaz.org/"
     1.5  
     1.6  # Bdeps ensure packages are built so we can get generated po files.
     1.7 -BUILD_DEPENDS="asunder alsaplayer epdfview galculator viewnior gparted \
     1.8 -glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm"
     1.9 +BUILD_DEPENDS="asunder alsaplayer epdfview galculator viewnior gparted nano \
    1.10 +glib gtk+ leafpad lxpanel lxtask obconf openbox pcmanfm midori mtpaint \
    1.11 +mhwaveedit lostirc"
    1.12  
    1.13  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.14  genpkg_rules()
    1.15 @@ -18,7 +19,13 @@
    1.16  	. $stuff/locale-pack.conf
    1.17  	for p in $CORE_PKGS
    1.18  	do
    1.19 -		[ ! -d "$WOK/$p/install" ] && echo "Missing in wok: $p"
    1.20 +		if [ ! -d "$WOK/$p/install" ]; then
    1.21 +			if [ -x /usr/bin/cook ]; then
    1.22 +				cook $p
    1.23 +			else
    1.24 +				tazwok cook $p
    1.25 +			fi
    1.26 +		fi
    1.27  	done
    1.28  	# Cook all locale pack.
    1.29  	for i in $LOCALE_PACK