162.3. hackrf-2026.01.3
libhackrf and the hackrf_* tools for the HackRF One, Jawbreaker and rad1o transceivers
2026.01.3-1 · BSD-3-Clause AND GPL-2.0-or-later · 0.1 SBU · 388.9 KiB, 20 files · 41_system, 898 of 1047 · ports/core/sdr-hw/hackrf
Homepage: https://greatscottgadgets.com/hackrf/
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 --findlists nothing, whatever is plugged in. SDRplay has no module: its API is a closed library.
Depends on: cmake, pkgconf, libusb, fftw.
Required by (6): gr-osmosdr, satdump, sdrangel, sdrpp, soapyhackrf, urh.
Sources: hackrf-2026.01.3.tar.xz (24.7 MiB). Every step kpkg takes applies to this port.
Install: script/chroot/exec.sh bash -c 'source script/phases/41_system/phase.env && kpkg install hackrf'
build.sh:
cd host
mkdir -p build && cd build
cmake .. -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib \
-DINSTALL_UDEV_RULES=OFF \
-DENABLE_STATIC_LIB=OFF \
-DENABLE_HACKRF_SWEEP=ON \
-DVERSION=$version
make
make DESTDIR=$PKG install
Programs: hackrf_biast, hackrf_clock, hackrf_cpldjtag, hackrf_debug, hackrf_info, hackrf_operacake, hackrf_spiflash, hackrf_sweep, hackrf_transfer.
Libraries: libhackrf.so.
Directories: /usr/include/libhackrf, /usr/lib/cmake/HackRF, /usr/share/licenses/hackrf.