2010-09-08 05:46:28 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
|
|
|
# include global config
|
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
|
|
|
|
pkgname=libimobiledevice
|
2010-12-12 22:28:16 +08:00
|
|
|
pkgver=1.0.4
|
2010-09-08 05:46:28 +08:00
|
|
|
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')
|
2010-12-12 22:28:16 +08:00
|
|
|
depends=('gnutls' 'glib2' 'libplist>=1.3' 'usbmuxd>=1.0.6')
|
|
|
|
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)
|
|
|
|
md5sums=('dbf62f2fddaa87558b6f1ebc76abb549'
|
2010-12-15 22:50:19 +08:00
|
|
|
'839dda54740c952dfee21f11acbc2674')
|
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
|
2010-09-08 05:46:28 +08:00
|
|
|
./configure --prefix=/usr
|
|
|
|
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
|
|
|
|
}
|