You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.2 KiB

  1. #
  2. # Copyright (C) 2017 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. include $(TOPDIR)/rules.mk
  7. PKG_NAME:=rtl_433
  8. PKG_VERSION:=6531ea4
  9. PKG_RELEASE:=$(PKG_SOURCE_VERSION)
  10. PKG_SOURCE_PROTO:=git
  11. PKG_SOURCE_URL:=git://github.com/merbanan/rtl_433.git
  12. PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
  13. PKG_SOURCE_VERSION:=6531ea48a7933ac8289724672059e54fd8aad8eb
  14. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  15. PKG_MIRROR_HASH:=f96301c8d7e87605b113aad4493f15b63a675fea6f00642b0606de5a3a858746
  16. CMAKE_INSTALL:=1
  17. PKG_LICENSE:=GPLv2
  18. PKG_LICENSE_FILES:=COPYING
  19. include $(INCLUDE_DIR)/package.mk
  20. include $(INCLUDE_DIR)/cmake.mk
  21. define Package/rtl_433
  22. TITLE:=Realtek RTL2832 based 433.92MHz generic data receiver
  23. SECTION:=utils
  24. CATEGORY:=Utilities
  25. DEPENDS:=+librtlsdr +rtl-sdr +libtool-bin
  26. URL:=https://github.com/merbanan/rtl_433
  27. MAINTAINER:=Jasper Scholte <NightNL@outlook.com>
  28. endef
  29. define Package/rtl-sdr/description
  30. rtl_433 turns your Realtek RTL2832 based DVB dongle into a 433.92MHz generic data receiver.
  31. endef
  32. define Package/rtl_433/install
  33. $(INSTALL_DIR) $(1)/usr/bin
  34. $(CP) $(PKG_INSTALL_DIR)/usr/bin/rtl_433 $(1)/usr/bin
  35. endef
  36. $(eval $(call BuildPackage,rtl_433))