void-packages/srcpkgs/libusb-compat/template

26 lines
741 B
Bash

# Template file for 'libusb-compat'
pkgname=libusb-compat
version=0.1.8
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="libusb-devel"
short_desc="libusb-0.1 compatibility library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://libusb.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libusb/$pkgname-$version.tar.bz2"
checksum=b692dcf674c070c8c0bee3c8230ce4ee5903f926d77dc8b968a4dd1b70f9b05c
libusb-compat-devel_package() {
depends="libusb-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}