summaryrefslogtreecommitdiff
path: root/source/l/libusbmuxd/libusbmuxd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libusbmuxd/libusbmuxd.SlackBuild')
-rwxr-xr-xsource/l/libusbmuxd/libusbmuxd.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/l/libusbmuxd/libusbmuxd.SlackBuild b/source/l/libusbmuxd/libusbmuxd.SlackBuild
index d54b1779..d2f4d6e0 100755
--- a/source/l/libusbmuxd/libusbmuxd.SlackBuild
+++ b/source/l/libusbmuxd/libusbmuxd.SlackBuild
@@ -100,6 +100,11 @@ make install DESTDIR=$PKG || exit 1
# Don't ship .la files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+# Provide a symlink from the old pkgconfig name:
+( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+ ln -sf libusbmuxd-2.*.pc libusbmuxd.pc
+)
+
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" \
| grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null