diff options
author | jbj <devnull@localhost> | 2005-07-13 12:11:00 +0000 |
---|---|---|
committer | jbj <devnull@localhost> | 2005-07-13 12:11:00 +0000 |
commit | cb1d12af9057536c5d1625b3092abf4bbe1a8fb1 (patch) | |
tree | e994a19301c7a511bf167bfc1883d0dd3384d85b /scripts | |
parent | 54338346440f6b7552e232fa5179eb51b60a851a (diff) | |
download | librpm-tizen-cb1d12af9057536c5d1625b3092abf4bbe1a8fb1.tar.gz librpm-tizen-cb1d12af9057536c5d1625b3092abf4bbe1a8fb1.tar.bz2 librpm-tizen-cb1d12af9057536c5d1625b3092abf4bbe1a8fb1.zip |
Added from bugzilla #153935.
CVS patchset: 7885
CVS date: 2005/07/13 12:11:00
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/libtool.prov.sh | 10 | ||||
-rw-r--r-- | scripts/libtool.req.sh | 15 |
2 files changed, 25 insertions, 0 deletions
diff --git a/scripts/libtool.prov.sh b/scripts/libtool.prov.sh new file mode 100644 index 000000000..042ab29ef --- /dev/null +++ b/scripts/libtool.prov.sh @@ -0,0 +1,10 @@ +#!/bin/sh +while read possible ; do + case "$possible" in + *.la) + if grep -iq '^# Generated by ltmain.sh' "$possible" 2> /dev/null ; then + echo "libtool($possible)" + fi + ;; + esac +done diff --git a/scripts/libtool.req.sh b/scripts/libtool.req.sh new file mode 100644 index 000000000..4d95ddb14 --- /dev/null +++ b/scripts/libtool.req.sh @@ -0,0 +1,15 @@ +#!/bin/sh +while read possible ; do + case "$possible" in + *.la) + for dep in `grep ^dependency_libs= "$possible" 2> /dev/null | \ + sed -r -e "s,^dependency_libs='(.*)',\1,g"` ; do + case "$dep" in + /*.la) + echo "libtool($dep)" + ;; + esac + done + ;; + esac +done |