summaryrefslogtreecommitdiff
path: root/staging/libimobiledevice
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-07-22 00:04:51 +0000
committerroot <root@rshg054.dnsready.net>2012-07-22 00:04:51 +0000
commite4d2743138eaca146b1a01a7815facdb3d271d88 (patch)
treeadfc39f3d6e7081629f4fb9ed391f3155617b021 /staging/libimobiledevice
parent5d90c7e7b2760bbf7b048dca31384e9f53a97c61 (diff)
Sun Jul 22 00:04:51 UTC 2012
Diffstat (limited to 'staging/libimobiledevice')
-rw-r--r--staging/libimobiledevice/PKGBUILD27
-rw-r--r--staging/libimobiledevice/swig-version-check.patch14
2 files changed, 41 insertions, 0 deletions
diff --git a/staging/libimobiledevice/PKGBUILD b/staging/libimobiledevice/PKGBUILD
new file mode 100644
index 000000000..46ae8c1e2
--- /dev/null
+++ b/staging/libimobiledevice/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 163816 2012-07-20 15:09:08Z tomegun $
+# Maintainer : Ionut Biru <ibiru@archlinux.org>
+# Contributor: Gabriel Martinez < reitaka at gmail dot com >
+
+pkgname=libimobiledevice
+pkgver=1.1.4
+pkgrel=1
+pkgdesc="Is a software library that talks the protocols to support iPhone and iPod Touch devices on Linux"
+url="http://libimobiledevice.org/"
+arch=('i686' 'x86_64')
+license=('GPL2' 'LGPL2.1')
+depends=('usbmuxd' 'gnutls' 'libgcrypt')
+options=('!libtool')
+source=(http://libimobiledevice.org/downloads/$pkgname-$pkgver.tar.bz2)
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+md5sums=('3f28cbc6a2e30d34685049c0abde5183')
diff --git a/staging/libimobiledevice/swig-version-check.patch b/staging/libimobiledevice/swig-version-check.patch
new file mode 100644
index 000000000..c56b095db
--- /dev/null
+++ b/staging/libimobiledevice/swig-version-check.patch
@@ -0,0 +1,14 @@
+diff -Nur libimobiledevice-1.0.3.old/configure libimobiledevice-1.0.3/configure
+--- libimobiledevice-1.0.3.old/configure 2010-10-04 07:38:37.000000000 -0700
++++ libimobiledevice-1.0.3/configure 2010-10-08 05:43:05.466686656 -0700
+@@ -3477,9 +3477,7 @@
+ if test -z "$available_patch" ; then
+ available_patch=0
+ fi
+- if test $available_major -ne $required_major \
+- -o $available_minor -ne $required_minor \
+- -o $available_patch -lt $required_patch ; then
++ if test $available_major -lt $required_major ; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&5
+ $as_echo "$as_me: WARNING: SWIG version >= 1.3.21 is required. You have $swig_version. You should look at http://www.swig.org" >&2;}
+ SWIG=false