2014-11-14 11:35:10 +01:00
|
|
|
# Template file for 'libimobiledevice'
|
|
|
|
pkgname=libimobiledevice
|
2015-01-29 07:44:18 +01:00
|
|
|
version=1.2.0
|
2015-08-06 10:34:50 +02:00
|
|
|
revision=5
|
2014-11-14 11:35:10 +01:00
|
|
|
build_style=gnu-configure
|
2014-11-14 11:50:15 +01:00
|
|
|
hostmakedepends="automake libtool pkg-config python-devel"
|
2015-03-27 10:50:40 +01:00
|
|
|
makedepends="python-devel libglib-devel libressl-devel libusb-devel libplist-devel libusbmuxd-devel"
|
2014-11-14 11:35:10 +01:00
|
|
|
short_desc="A library to communicate with Apple devices"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2014-11-14 11:35:10 +01:00
|
|
|
license="GPL-2,LGPL-2.1"
|
|
|
|
homepage="http://www.libimobiledevice.org/"
|
|
|
|
distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2"
|
2015-01-29 07:44:18 +01:00
|
|
|
checksum=786b0de0875053bf61b5531a86ae8119e320edab724fc62fe2150cc931f11037
|
2014-11-14 11:35:10 +01:00
|
|
|
|
2014-11-14 11:50:15 +01:00
|
|
|
pre_configure() {
|
|
|
|
sed -i 's,-L$(libdir),,g' cython/Makefile.am
|
|
|
|
export PYTHON_CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
|
|
|
export PYTHON_LDFLAGS="-L${XBPS_CROSS_BASE}/usr/lib -lpython2.7"
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
|
2014-11-14 11:35:10 +01:00
|
|
|
libimobiledevice-devel_package() {
|
|
|
|
short_desc+=" - development files"
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/*.a
|
|
|
|
vmove usr/lib/*.so
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|