projects
/
selector.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90ff570
)
Uses dpkg-shlibdeps to compute the library dependences.
author
Francois Fleuret
<francois@fleuret.org>
Mon, 6 Apr 2009 06:06:17 +0000
(08:06 +0200)
committer
Francois Fleuret
<francois@fleuret.org>
Mon, 6 Apr 2009 06:06:17 +0000
(08:06 +0200)
mkdeb.sh
patch
|
blob
|
history
diff --git
a/mkdeb.sh
b/mkdeb.sh
index
04baa3a
..
dff4880
100755
(executable)
--- a/
mkdeb.sh
+++ b/
mkdeb.sh
@@
-38,15
+38,14
@@
for d in DEBIAN usr/bin usr/share/man/man1; do
mkdir -p ${TMP}/${d}
done
mkdir -p ${TMP}/${d}
done
-# LIBS=`ldd selector | grep "=> /" | awk '{print $3}'`
-# DEPS=`for l in ${LIBS}; do dpkg -S $l; done | cut -f 1 -d: | sort | uniq`
+LIB_DEPENDS=$(dpkg-shlibdeps -O ./selector|grep Depends|sed -e "s/^.*Depends=//")
cat > ${TMP}/DEBIAN/control <<EOF
Package: selector
Version: ${VERSION}
Maintainer: Francois Fleuret <francois@fleuret.org>
Architecture: i386
cat > ${TMP}/DEBIAN/control <<EOF
Package: selector
Version: ${VERSION}
Maintainer: Francois Fleuret <francois@fleuret.org>
Architecture: i386
-Depends:
libncurses5, libstdc++6, libc6, libgcc1
+Depends:
${LIB_DEPENDS}
Description: A command line for dynamic string-matching.
This is a command line for dynamic string selection. As you type a
list of strings separated by ';' or a regexp, the display is updated
Description: A command line for dynamic string-matching.
This is a command line for dynamic string selection. As you type a
list of strings separated by ';' or a regexp, the display is updated