summaryrefslogtreecommitdiffstats
path: root/libimobiledevice/Pkgfile
blob: 6d82a68b4ad5bf6b7c4b5c85ca1a5ff60b568f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# 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, cython
# Run on: glib,libplist,libtasn1,usbmuxd,gnutls,libgcrypt

name=libimobiledevice
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-${release%-*}
	NOCONFIGURE=yes ./autogen.sh
	PYTHON=/usr/bin/python2 CYTHON=/usr/bin/cython2 ./configure --prefix=/usr \
		--enable-dev-tools
	make
	make DESTDIR=$PKG install
}