2010-09-08 05:46:28 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-06-14 07:27:52 +08:00
|
|
|
# maintainer abveritas@chakra-project.org
|
2010-09-08 05:46:28 +08:00
|
|
|
|
|
|
|
pkgname=libimobiledevice
|
2012-06-14 07:27:52 +08:00
|
|
|
pkgver=1.1.1
|
2011-06-05 07:14:31 +08:00
|
|
|
pkgrel=1
|
2010-09-08 05:46:28 +08:00
|
|
|
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')
|
2012-06-14 07:27:52 +08:00
|
|
|
depends=('gnutls' 'glib2' 'libplist' 'usbmuxd' 'libgcrypt')
|
2010-12-12 22:28:16 +08:00
|
|
|
makedepends=('swig' 'python2')
|
2010-09-08 05:46:28 +08:00
|
|
|
options=('!libtool')
|
2010-12-12 22:28:16 +08:00
|
|
|
source=(http://libimobiledevice.org/downloads/${pkgname}-${pkgver}.tar.bz2
|
|
|
|
swig-version-check.patch)
|
2012-06-14 07:27:52 +08:00
|
|
|
md5sums=('cdc13037e822d9ac2e109536701d153a'
|
2010-12-19 07:54:33 +08:00
|
|
|
'8bb215e36fe0e08a72332c108c7842cc')
|
2010-09-08 05:46:28 +08:00
|
|
|
|
2010-12-12 22:28:16 +08:00
|
|
|
build() {
|
2010-09-08 05:46:28 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-12-12 22:28:16 +08:00
|
|
|
# SWIG version check is wrong (still not fixed upstream)
|
|
|
|
patch -p1 -i "$srcdir"/swig-version-check.patch
|
2012-06-14 07:27:52 +08:00
|
|
|
|
|
|
|
PYTHON=/usr/bin/python2 ./configure --prefix=/usr --libexecdir=/usr/lib/usbmuxd
|
2010-09-08 05:46:28 +08:00
|
|
|
make
|
2010-12-12 22:28:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-09-08 05:46:28 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|