summaryrefslogtreecommitdiffstats
path: root/source/l/libimobiledevice/libimobiledevice.SlackBuild
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2022-01-23 01:17:39 +0000
committer Eric Hameleers <alien@slackware.com>2022-01-23 09:00:00 +0100
commit894a7dcff6c811140eef27e7270b87646143328f (patch)
tree4e8e1824871bbfb84c39cb0bd15ac29cd708e8ab /source/l/libimobiledevice/libimobiledevice.SlackBuild
parent399262bfa44c53fd233aa9d79b8e157e59a00f77 (diff)
downloadcurrent-894a7dcff6c811140eef27e7270b87646143328f.tar.gz
current-894a7dcff6c811140eef27e7270b87646143328f.tar.xz
Sun Jan 23 01:17:39 UTC 202220220123011739
ap/ddrescue-1.26-x86_64-1.txz: Upgraded. d/parallel-20220122-noarch-1.txz: Upgraded. l/libimobiledevice-20211124_2c6121d-x86_64-2.txz: Rebuilt. Don't include compatibility pkgconfig symlink. It's unlikely that anything requires it. l/libimobiledevice-glue-20211125_3cb687b-x86_64-2.txz: Rebuilt. Removed broken pkgconfig symlink. Thanks to marav. isolinux/initrd.img: Rebuilt. usb-and-pxe-installers/usbboot.img: Rebuilt.
Diffstat (limited to 'source/l/libimobiledevice/libimobiledevice.SlackBuild')
-rwxr-xr-xsource/l/libimobiledevice/libimobiledevice.SlackBuild15
1 files changed, 9 insertions, 6 deletions
diff --git a/source/l/libimobiledevice/libimobiledevice.SlackBuild b/source/l/libimobiledevice/libimobiledevice.SlackBuild
index c8d0e3730..e48aff646 100755
--- a/source/l/libimobiledevice/libimobiledevice.SlackBuild
+++ b/source/l/libimobiledevice/libimobiledevice.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/bash
-# Copyright 2015, 2017, 2018 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2015, 2017, 2018, 2022 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PKGNAM=libimobiledevice
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -101,10 +101,13 @@ 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 libimobiledevice-1.*.pc libimobiledevice.pc
-)
+## COMMENTED OUT - I doubt this is needed any more.
+## Provide a symlink from the old pkgconfig name:
+#if [ -r $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libimobiledevice-1.0.pc -a ! -r $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig/libimobiledevice.pc ]; then
+# ( cd $PKG/usr/lib${LIBDIRSUFFIX}/pkgconfig
+# ln -sf libimobiledevice-1.0.pc libimobiledevice.pc
+# )
+#fi
# Strip binaries:
find $PKG | xargs file | grep -e "executable" -e "shared object" \