When building on a host with SoapySDR installed, the package fails to
build as CMake picks up the host SoapySDR CMake module. As SoapySDR is
not available in OpenWrt, simply disable SoapySDR to fix build.
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
PKG_NAME:=rtl_433
PKG_VERSION:=20.11
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/merbanan/rtl_433/tar.gz/$(PKG_VERSION)?
rtl_433 turns your Realtek RTL2832 based DVB dongle into a 433.92MHz generic data receiver.
endef
+CMAKE_OPTIONS += -DENABLE_SOAPYSDR=NO
+
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/rtl_433.h $(1)/usr/include