void-packages/srcpkgs/libusbmuxd/template

29 lines
773 B
Bash

# Template file for 'libusbmuxd'
pkgname=libusbmuxd
version=2.0.0
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkgconf"
makedepends="libusb-devel libplist-devel"
short_desc="USB Multiplex Daemon library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only"
homepage="https://marcan.st/blog/iphonelinux/usbmuxd/"
distfiles="https://github.com/libimobiledevice/libusbmuxd/archive/${version}.tar.gz"
checksum=ecf287b9d5fa28645a6b5ed640b6bd174134227c4fd8fde28d0678df2be0e97a
pre_configure() {
autoreconf -fi
}
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
}
}