# Description: Librairie pour materiel Apple # URL: http://libimobiledevice.org/ # Maintainer: NuTyX core team # Packager: lesibel at free dot fr # Depends on: cmake, libxml2, glib, python, swig name=libplist version=1.3 release=1 source=(http://cloud.github.com/downloads/JonathanBeck/$name/$name-$version.tar.bz2) build() { cd $SRC/$name-$version/cmake/modules cp /usr/share/cmake-2.8/Modules/FindPython*.cmake . sed -i -e 's#2.6#2.7 2.6#' FindPythonLibs.cmake sed -i -e 's#python2.6#python2.7 python2.6#' FindPythonInterp.cmake cd $SRC mkdir build cd build cmake ../$name-$version \ -DCMAKE_SKIP_RPATH=ON \ -DCMAKE_INSTALL_PREFIX:PATH=/usr make make DESTDIR=$PKG install }