void-packages/srcpkgs/libusb/template

24 lines
675 B
Text

# Template file for 'libusb'
pkgname=libusb
version=1.0.19
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel"
short_desc="A library which allows userspace access to USB devices"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://libusb.info"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.bz2"
checksum=6c502c816002f90d4f76050a6429c3a7e0d84204222cbff2dce95dd773ba6840
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
}
}