# Template file for 'libusbmuxd'
pkgname=libusbmuxd
version=1.0.10
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libusb-devel libplist-devel"
short_desc="USB Multiplex Daemon library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2,LGPL-2.1"
homepage="https://marcan.st/blog/iphonelinux/usbmuxd/"
distfiles="http://www.libimobiledevice.org/downloads/${pkgname}-${version}.tar.bz2"
checksum=1aa21391265d2284ac3ccb7cf278126d10d354878589905b35e8102104fec9f2

libusbmuxd-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/lib/pkgconfig
	}
}
