mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 17:17:21 +08:00
33 lines
887 B
Bash
33 lines
887 B
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer abveritas@chakra-project.org
|
|
|
|
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=('x86_64')
|
|
license=('GPL2' 'LGPL2.1')
|
|
depends=('gnutls' 'glib2' 'libplist' 'usbmuxd' 'libgcrypt')
|
|
makedepends=('swig' 'python2')
|
|
options=('!libtool')
|
|
source=(http://libimobiledevice.org/downloads/${pkgname}-${pkgver}.tar.bz2
|
|
home-segfault.patch)
|
|
md5sums=('3f28cbc6a2e30d34685049c0abde5183'
|
|
'7d9e56447b3975f945c753374a797dab')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -p0 < "$srcdir/home-segfault.patch"
|
|
|
|
PYTHON=/usr/bin/python2 ./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|