-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
29 lines (27 loc) · 863 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Template file for 'hidapi'
pkgname=hidapi
version=0.13.1
revision=1
build_style=cmake
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel libusb-devel"
short_desc="Simple library for communicating with USB and Bluetooth HID devices"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://github.com/libusb/hidapi"
changelog="https://github.com/libusb/hidapi/releases"
distfiles="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-${version}.tar.gz"
checksum=476a2c9a4dc7d1fc97dd223b84338dbea3809a84caea2dcd887d9778725490e3
post_install() {
vlicense LICENSE-bsd.txt LICENSE
}
hidapi-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/lib/cmake
}
}