void-packages/srcpkgs/libusb/template

23 lines
624 B
Plaintext

# Template file for 'libusb'
pkgname=libusb
version=1.0.9
revision=3
build_style=gnu-configure
short_desc="A library which allows userspace access to USB devices"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://libusb.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=e920eedc2d06b09606611c99ec7304413c6784cba6e33928e78243d323195f9b
libusb-devel_package() {
depends="libusb>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}