gcc484ntopperl-5.22
Last change
on this file since c5c522c 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:
461 bytes
|
Line | |
---|
1 | #!/bin/bash |
---|
2 | #show all binary dependecies of specified package |
---|
3 | PKG=`./findpkg $1` || exit 1 |
---|
4 | |
---|
5 | |
---|
6 | rm -rf /tmp/showdepchk |
---|
7 | mkdir /tmp/showdepchk |
---|
8 | tar -C /tmp/showdepchk -xzf "$PKG" || exit 1 |
---|
9 | while read BIN ; do |
---|
10 | objdump -p "$BIN" 2>/dev/null | grep "^\W*NEEDED" | sed "s<^<$PKG:$BIN<" |
---|
11 | done < <(find /tmp/showdepchk -type f) |
---|
12 | rm -rf /tmp/showdepchk |
---|
Note: See
TracBrowser
for help on using the repository browser.