From 88e9d13ed7a7d7afd943e27e40e59e6409aeac76 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 20 Dec 2020 21:13:23 -0800 Subject: [PATCH] rtl_433: update to 20.11 Replace CMAKE_INSTALL with an explicit InstallDev section. Install conf files. Signed-off-by: Rosen Penev --- utils/rtl_433/Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/utils/rtl_433/Makefile b/utils/rtl_433/Makefile index 0c77160f1d..410ed16290 100644 --- a/utils/rtl_433/Makefile +++ b/utils/rtl_433/Makefile @@ -7,18 +7,17 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtl_433 -PKG_VERSION:=20.02 +PKG_VERSION:=20.11 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://codeload.github.com/merbanan/rtl_433/tar.gz/$(PKG_VERSION)? -PKG_HASH:=4f114017ede02d3038c449cf7d25cc82eecda5960e5229cc229774681a9ad80b +PKG_HASH:=12a5cb7a733ba352467522c704d5b685aa6137582dc18aaa444d4891c29ee839 PKG_MAINTAINER:=Jasper Scholte PKG_LICENSE:=GPL-2.0-or-later PKG_LICENSE_FILES:=COPYING -CMAKE_INSTALL:=1 PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk @@ -36,7 +35,15 @@ define Package/rtl-sdr/description rtl_433 turns your Realtek RTL2832 based DVB dongle into a 433.92MHz generic data receiver. endef +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/rtl_433.h $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/rtl_433_devices.h $(1)/usr/include +endef + define Package/rtl_433/install + $(INSTALL_DIR) $(1)/etc/rtl_433 + $(CP) $(PKG_INSTALL_DIR)/usr/etc/rtl_433/*.conf $(1)/etc/rtl_433 $(INSTALL_DIR) $(1)/usr/bin $(CP) $(PKG_INSTALL_DIR)/usr/bin/rtl_433 $(1)/usr/bin endef -- 2.30.2