hackrf: set udev rules group to plugdev explicitly

tries to use `getent` to check if the plugdev group exists.
on cross/musl, this fails.
This commit is contained in:
classabbyamp 2022-10-04 19:43:20 -04:00
parent 1b4e00e505
commit c6c27bd4f8
No known key found for this signature in database
GPG Key ID: 6BE0755918A4C7F5
1 changed files with 3 additions and 2 deletions

View File

@ -1,10 +1,11 @@
# Template file for 'hackrf'
pkgname=hackrf
version=2021.03.1
revision=2
revision=3
build_wrksrc=host
build_style=cmake
configure_args="-DUDEV_RULES_PATH=/usr/lib/udev/rules.d/ -Wno-dev"
configure_args="-DUDEV_RULES_PATH=/usr/lib/udev/rules.d/ -DUDEV_RULES_GROUP=plugdev
-Wno-dev"
hostmakedepends="pkg-config"
makedepends="libusb-devel fftw-devel"
_desc="Low cost software defined radio (SDR) platform"