summaryrefslogtreecommitdiffstats
path: root/libimobiledevice/Pkgfile
blob: 1d16c8c798187f9f369e9606e28d76096911c4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Bibliothèque permettant la connexion aux iPhone et iPod Touch
# URL: http://libimobiledevice.org
# Maintainer: NuTyX Core team
# Packager: piernov <piernov@piernov.org>
# Depends on: glib, libplist, libtasn1, usbmuxd, gnutls, libgcrypt, swig
# 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)

build() {
	cd $name-$version
	patch -p1 < ../swig-version-check.patch
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr
	make
	make DESTDIR=$PKG install
}