tazwok rev 272
Don't install build_depends if package doesn't have compile_rules and doesn't have BUILD_DEPENDS (thanks Godane)
| author | Antoine Bodin <gokhlayeh@slitaz.org> |
|---|---|
| date | Mon Feb 14 03:59:00 2011 +0100 (2011-02-14) |
| parents | 6b093970f4f9 |
| children | 5ab102a2359a |
| files | tazwok |
line diff
1.1 --- a/tazwok Mon Feb 14 03:06:47 2011 +0100 1.2 +++ b/tazwok Mon Feb 14 03:59:00 2011 +0100 1.3 @@ -292,6 +292,7 @@ 1.4 { 1.5 [ "$WANTED" ] && return 1.6 [ "$CATEGORY" = meta ] && ! fgrep -q compile_rules $RECEIPT && return 1.7 + [ ! "$BUILD_DEPENDS" ] && ! fgrep -q compile_rules $RECEIPT && return 1.8 report step "Looking for build dependencies" 1.9 1.10 # Keep the list of previously installed build_depends then compare