mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 08:52:56 +02:00
hackrf: update to 2021.03.1
This commit is contained in:
parent
9230142157
commit
2e87ff6817
1 changed files with 5 additions and 5 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'hackrf'
|
# Template file for 'hackrf'
|
||||||
pkgname=hackrf
|
pkgname=hackrf
|
||||||
version=2018.01.1
|
version=2021.03.1
|
||||||
revision=1
|
revision=1
|
||||||
build_wrksrc=host
|
build_wrksrc=host
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
@ -9,17 +9,17 @@ makedepends="libusb-devel fftw-devel"
|
||||||
_desc="Low cost software defined radio (SDR) platform"
|
_desc="Low cost software defined radio (SDR) platform"
|
||||||
short_desc="${_desc} - tools"
|
short_desc="${_desc} - tools"
|
||||||
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
maintainer="bra1nwave <brainwave@openmailbox.org>"
|
||||||
license="GPL-2"
|
license="GPL-2.0-or-later"
|
||||||
homepage="https://greatscottgadgets.com/hackrf/"
|
homepage="https://greatscottgadgets.com/hackrf/"
|
||||||
distfiles="https://github.com/mossmann/hackrf/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
distfiles="https://github.com/mossmann/hackrf/releases/download/v${version}/${pkgname}-${version}.tar.xz"
|
||||||
checksum=a89badc09a1d2fa18367b3b2c974580ad5f6ce93aaa4e54557dc3d013c029d14
|
checksum=a43e5080c11efdfe69ddebcc35a02b018e30e820de0e0ebdc7948cf7b0cd93a3
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|g' libhackrf/53-hackrf.rules
|
vsed -i 's|MODE="660", GROUP="plugdev"|TAG+="uaccess"|g' libhackrf/53-hackrf.rules
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
for f in ../firmware-bin/*.{bin,dfu,xsvf}; do
|
for f in ../firmware-bin/*.{bin,dfu}; do
|
||||||
vinstall "$f" 644 usr/share/hackrf/
|
vinstall "$f" 644 usr/share/hackrf/
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue