25 lines
730 B
Bash
25 lines
730 B
Bash
# Template file for 'libusb'
|
|
pkgname=libusb
|
|
version=1.0.23
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="eudev-libudev-devel"
|
|
short_desc="Library which allows userspace access to USB devices"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://libusb.info"
|
|
distfiles="https://github.com/libusb/libusb/releases/download/v${version}/libusb-${version}.tar.bz2"
|
|
checksum=db11c06e958a82dac52cf3c65cb4dd2c3f339c8a988665110e0d24d19312ad8d
|
|
|
|
libusb-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}-${version}_${revision}"
|
|
pkg_install() {
|
|
vmove /usr/include
|
|
vmove /usr/lib/pkgconfig
|
|
vmove "/usr/lib/*.a"
|
|
vmove "/usr/lib/*.so"
|
|
}
|
|
}
|