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.

42 lines
1.1 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=temperusb
  7. PKG_VERSION:=2.3
  8. PKG_RELEASE:=1
  9. PKG_CONFIG_DEPENDS:=libusb
  10. PKG_BUILD_DIR:=$(BUILD_DIR)/temperv14-$(PKG_VERSION)
  11. PKG_SOURCE_URL:=https://codeload.github.com/Arduous/temperv14/tar.gz/v${PKG_VERSION}?
  12. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  13. PKG_HASH:=3319026e0d5c42aebe9a75a23593f181c29d0ec9d544fac90b7ba886269ff246
  14. PKG_LICENSE:=BSD-2-Clause
  15. PKG_LICENSE_FILES:=LICENSE
  16. PKG_MAINTAINER := Samuel Progin <samuel.progin@gmail.com>
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/temperusb
  19. SECTION:=utils
  20. CATEGORY:=Utilities
  21. DEPENDS:=+libusb-1.0
  22. TITLE:=USB Thermometer RDing TEMPer v1.4 reader
  23. endef
  24. define Package/temperusb/description
  25. RDing TEMPer v1.4 USB thermometer are cheap devices that can be sourced everywhere on
  26. the Internet. This package allows to operate them from user space.
  27. endef
  28. define Package/temperusb/install
  29. $(INSTALL_DIR) $(1)/usr/bin
  30. $(INSTALL_BIN) $(PKG_BUILD_DIR)/temperusb $(1)/usr/bin
  31. endef
  32. $(eval $(call BuildPackage,temperusb))