Debian Codegraph @

debian/installsharedlibs

raw
1 #!/bin/bash
2 set -e
3 set -o pipefail
4
5 # This avoids us having to write out shared library package
6 # names again. We call dh_install once for each shared
7 # library package to put the relevant shared library in it.
8 #
9 # libxenmisc is a portmanteau of unstable-ABI libraries and
10 # is handled via a *.install-vsn file.
11 #
12 # libxen-dev-V is the dev library package of course.
13
14 x () {
15 echo x "$@"
16 "$@"
17 }
18
19 for p in $(dh_listpackages); do
20 case $p in
21 libxen-dev*) continue ;;
22 libxenmisc*) continue ;;
23 lib*) ;;
24 *) continue ;;
25 esac
26
27 l=${p%%[0-9]*}
28
29 x dh_install -p$p "usr/lib/*/$l.so.*"
30 done