diff options
Diffstat (limited to 'source/l/libimobiledevice')
-rwxr-xr-x | source/l/libimobiledevice/libimobiledevice.SlackBuild | 15 |
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" \ |