# 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=6fc41f5 release=1 source=(https://github.com/libimobiledevice/$name/archive/$version/$name-6fc41f57fc607df9b07446ca45bdf754225c9bd9.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 make make DESTDIR=$PKG install rm -f $PKG/{,usr/}lib/*.la }