source: npl/findmissingdeps @ a2d969e

perl-5.22
Last change on this file since a2d969e was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100755
File size: 450 bytes
Line 
1#!/bin/bash
2LIB=$1
3DEP=$2
4[ "$2" ] || exit 1
5
6echo "Finding all packages with binary dependencies on $LIB, but without a valid #DEP:$DEP statement in the SlackBuild."
7./findrevbindeps "$LIB" |cut -f1 -d:|sort|uniq| sed 's@.*/@@' | sed 's/.pkg$//' | while read PKG; do
8        if BUILD=`./findbuild $PKG`.SlackBuild; then
9                #echo "$PKG: checking if $BUILD has #DEP:$DEP"
10                if ! grep "^#DEP:$DEP" $BUILD >/dev/null; then
11                        echo "NO_DEP $BUILD"
12                fi
13        fi
14done
Note: See TracBrowser for help on using the repository browser.