summaryrefslogtreecommitdiffstats
path: root/extra/libimobiledevice/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libimobiledevice/Pkgfile')
-rw-r--r--extra/libimobiledevice/Pkgfile13
1 files changed, 8 insertions, 5 deletions
diff --git a/extra/libimobiledevice/Pkgfile b/extra/libimobiledevice/Pkgfile
index bed28932d..c735d4f8f 100644
--- a/extra/libimobiledevice/Pkgfile
+++ b/extra/libimobiledevice/Pkgfile
@@ -5,14 +5,17 @@
# Depends on: gnutls, libplist, usbmuxd, libtasn1
name=libimobiledevice
-version=1.0.2
-release=1
-source=(http://libimobiledevice.org/downloads/$name-$version.tar.bz2)
-
+version=1.0.4
+release=2
+source=(http://libimobiledevice.org/downloads/$name-$version.tar.bz2 \
+ libimobiledevice-1.0.4-swig-version.patch)
build() {
cd $name-$version
- ./configure --prefix=/usr
+
+ patch -p1 -i ../libimobiledevice-1.0.4-swig-version.patch
+
+ PYTHON=python2 ./configure --prefix=/usr
make
make DESTDIR=$PKG install
}