Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

162.7. soapyhackrf-0.3.4

The SoapySDR module for the HackRF family, through libhackrf

0.3.4-1 · MIT · 0.2 SBU · 133.9 KiB, 2 files · 41_system, 902 of 1047 · ports/core/sdr-hw/soapyhackrf

Homepage: https://github.com/pothosware/SoapyHackRF

Why it is in KDOS. The comment above the 7 ports from hackrf to soapybladerf in script/phases/41_system/packages.d/sdr-hw.txt:

The radios 70-kdos-sdr.rules grants, and the SoapySDR module for each: without a module SoapySDRUtil --find lists nothing, whatever is plugged in. SDRplay has no module: its API is a closed library.

Depends on: cmake, soapysdr, hackrf.

Required by: no port names it.

Sources: soapyhackrf-0.3.4.tar.gz (16.1 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install soapyhackrf'

build.sh:

mkdir -p build && cd build
cmake .. -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
make
make DESTDIR=$PKG install

Directories: /usr/share/licenses/soapyhackrf.