void-packages/srcpkgs/libimobiledevice/template

32 lines
1 KiB
Text
Raw Normal View History

2014-11-14 10:35:10 +00:00
# Template file for 'libimobiledevice'
pkgname=libimobiledevice
version=1.1.7
revision=3
2014-11-14 10:35:10 +00:00
build_style=gnu-configure
2014-11-14 10:50:15 +00:00
hostmakedepends="automake libtool pkg-config python-devel"
makedepends="python-devel libglib-devel libressl-devel>=2.1.2 libusb-devel libplist-devel libusbmuxd-devel"
2014-11-14 10:35:10 +00:00
short_desc="A library to communicate with Apple devices"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2,LGPL-2.1"
homepage="http://www.libimobiledevice.org/"
distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2"
checksum=e6afaad739f8deeb5b9c5c99fac7d01c818fa944b18ef3d3ae0456453d2eb2b0
2014-11-14 10:50:15 +00: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 10:35:10 +00: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
}
}