summaryrefslogtreecommitdiffstats
path: root/libimobiledevice/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'libimobiledevice/Pkgfile')
-rw-r--r--libimobiledevice/Pkgfile17
1 files changed, 9 insertions, 8 deletions
diff --git a/libimobiledevice/Pkgfile b/libimobiledevice/Pkgfile
index 1d16c8c..6d82a68 100644
--- a/libimobiledevice/Pkgfile
+++ b/libimobiledevice/Pkgfile
@@ -2,19 +2,20 @@
# URL: http://libimobiledevice.org
# Maintainer: NuTyX Core team
# Packager: piernov <piernov@piernov.org>
-# Depends on: glib, libplist, libtasn1, usbmuxd, gnutls, libgcrypt, swig
+# Depends on: glib, libplist, libtasn1, usbmuxd, gnutls, libgcrypt, swig, cython
# Run on: glib,libplist,libtasn1,usbmuxd,gnutls,libgcrypt
name=libimobiledevice
-version=1.1.1
-release=1
-source=(http://www.libimobiledevice.org/downloads/$name-$version.tar.bz2
- swig-version-check.patch)
+version=1.1.5
+release=849ea066-1
+#source=(http://www.libimobiledevice.org/downloads/$name-$version.tar.bz2)
+source=(http://cgit.sukimashita.com/libimobiledevice.git/snapshot/$name-${release%-*}.tar.bz2)
build() {
- cd $name-$version
- patch -p1 < ../swig-version-check.patch
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ cd $name-${release%-*}
+ NOCONFIGURE=yes ./autogen.sh
+ PYTHON=/usr/bin/python2 CYTHON=/usr/bin/cython2 ./configure --prefix=/usr \
+ --enable-dev-tools
make
make DESTDIR=$PKG install
}