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

162.4. airspy-1.0.10

libairspy and the airspy_* tools for the Airspy R2 and Mini receivers

1.0.10-2 · BSD-3-Clause AND GPL-2.0-or-later · 0.1 SBU · 240.0 KiB, 19 files · 41_system, 899 of 1047 · ports/core/sdr-hw/airspy

Homepage: https://github.com/airspy/airspyone_host

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, pkgconf, libusb.

Required by (6): gr-osmosdr, satdump, sdrangel, sdrpp, soapyairspy, urh.

Sources: airspy-1.0.10.tar.gz (233.3 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 airspy'

build.sh:

export CFLAGS="$CFLAGS -std=gnu17"
mkdir -p build && cd build
cmake .. -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DINSTALL_UDEV_RULES=OFF
make
make DESTDIR=$PKG install
rm "$PKG/usr/lib/libairspy.a"
install -Dm644 ../libairspy/LICENSE.md "$PKG/usr/share/licenses/$name/libairspy-LICENSE.md"
install -Dm644 ../airspy-tools/LICENSE.md "$PKG/usr/share/licenses/$name/airspy-tools-LICENSE.md"

Programs: airspy_gpio, airspy_gpiodir, airspy_info, airspy_lib_version, airspy_r820t, airspy_rx, airspy_si5351c, airspy_spiflash.

Libraries: libairspy.so.

Directories: /usr/include/libairspy, /usr/share/licenses/airspy.