tazwok rev 92

tazwok check BUILD_DEPENDS too
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 25 08:25:59 2008 +0000 (2008-09-25)
parents a1ce8666445b
children 5845f2591dfb
files tazwok
line diff
     1.1 --- a/tazwok	Thu Sep 04 15:56:44 2008 +0000
     1.2 +++ b/tazwok	Thu Sep 25 08:25:59 2008 +0000
     1.3 @@ -89,6 +89,7 @@
     1.4    cmp|compare    Compare the wok and the cooked pkgs (--remove old pkgs).
     1.5    list           List all packages in the wok tree or by category.
     1.6    info           Get information about a package in the wok.
     1.7 +  check          Check every receipt for common errors.
     1.8    check-log      Check the process log file of a package.
     1.9    search         Search for a package in the wok by pattern or name.
    1.10    compile        Configure and build a package using the receipt rules.
    1.11 @@ -680,6 +681,12 @@
    1.12  				echo -e "$MSG  $i"
    1.13  				MSG=""
    1.14  			done
    1.15 +			MSG="Missing build dependencies for $PACKAGE $VERSION$EXTRAVERSION :\n"
    1.16 +			for i in $BUILD_DEPENDS; do
    1.17 +				[ -d $i ] && continue
    1.18 +				echo -e "$MSG  $i"
    1.19 +				MSG=""
    1.20 +			done
    1.21  			MSG="Dependencies loop between $PACKAGE and :\n"
    1.22  			ALL_DEPS=""
    1.23  			check_for_deps_loop $PACKAGE $DEPENDS