void-packages/srcpkgs/libusbmuxd/template

30 lines
847 B
Bash

# Template file for 'libusbmuxd'
pkgname=libusbmuxd
version=2.0.2
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libusb-devel libplist-devel"
short_desc="USB Multiplex Daemon library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only"
homepage="https://libimobiledevice.org"
changelog="https://raw.githubusercontent.com/libimobiledevice/libusbmuxd/master/NEWS"
distfiles="https://github.com/libimobiledevice/libusbmuxd/archive/${version}.tar.gz"
checksum=8ae3e1d9340177f8f3a785be276435869363de79f491d05d8a84a59efc8a8fdc
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
}
}