26 lines
807 B
Bash
26 lines
807 B
Bash
# Template file for 'libusb'
|
|
pkgname=libusb
|
|
version=1.0.27
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config"
|
|
makedepends="eudev-libudev-devel"
|
|
short_desc="Library which allows userspace access to USB devices"
|
|
maintainer="skmpz <dem.procopiou@gmail.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="https://libusb.info"
|
|
changelog="https://raw.githubusercontent.com/libusb/libusb/master/ChangeLog"
|
|
distfiles="https://github.com/libusb/libusb/releases/download/v${version}/libusb-${version}.tar.bz2"
|
|
checksum=ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575
|
|
|
|
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"
|
|
}
|
|
}
|