# Description: A cross-platform protocol library to communicate with iOS devices # URL: https://github.com/libimobiledevice/libimobiledevice # Maintainer: Petar Petrov, slackalaxy at gmail dot com # Depends on: libusbmuxd name=libimobiledevice version=3969bc9 release=1 source=(https://github.com/libimobiledevice/$name/archive/$version/$name-3969bc93e05e0f1f50175cd99b8ecabfd0ba6009.tar.gz) build() { cd $name-${version}* # configure will break if no version is found echo "1.3.0" > .tarball-version # we call this after a fix to the shebang sed -i '24,26d' autogen.sh ./autogen.sh # change the shebang to bash sed -i 's:/bin/sh:/bin/bash:' configure ./configure --prefix=/usr \ --without-cython make make DESTDIR=$PKG install rm -f $PKG/{,usr/}lib/*.la }