summaryrefslogtreecommitdiffstats
path: root/source/l/libimobiledevice/libimobiledevice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/libimobiledevice/libimobiledevice.SlackBuild')
-rwxr-xr-xsource/l/libimobiledevice/libimobiledevice.SlackBuild16
1 files changed, 10 insertions, 6 deletions
diff --git a/source/l/libimobiledevice/libimobiledevice.SlackBuild b/source/l/libimobiledevice/libimobiledevice.SlackBuild
index d34ef0ffe..2c7e6d21b 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, 2024 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:-4}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -93,6 +93,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PKGNAM-$VERSION \
--mandir=/usr/man \
--disable-static \
+ --without-cython \
--build=$ARCH-slackware-linux || exit 1
make $NUMJOBS || make || exit 1
@@ -101,10 +102,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" \