|
@ -6,16 +6,16 @@ |
|
|
include $(TOPDIR)/rules.mk |
|
|
include $(TOPDIR)/rules.mk |
|
|
|
|
|
|
|
|
PKG_NAME:=temperusb |
|
|
PKG_NAME:=temperusb |
|
|
PKG_VERSION:=2.0 |
|
|
|
|
|
|
|
|
PKG_VERSION:=2.3 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_RELEASE:=1 |
|
|
PKG_CONFIG_DEPENDS:=libusb |
|
|
PKG_CONFIG_DEPENDS:=libusb |
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/temperv14-$(PKG_VERSION) |
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/temperv14-$(PKG_VERSION) |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/Arduous/temperv14/tar.gz/v${PKG_VERSION}? |
|
|
PKG_SOURCE_URL:=https://codeload.github.com/Arduous/temperv14/tar.gz/v${PKG_VERSION}? |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
|
|
PKG_HASH:=a8f4ef76a2def5a2e3ec351828a042ce8f7a0963eaa6d9d8ce0c8313e2b54526 |
|
|
|
|
|
PKG_LICENSE:=BSD-1-Clause |
|
|
|
|
|
PKG_LICENSE_FILES:=temperv14.c |
|
|
|
|
|
|
|
|
PKG_HASH:=3319026e0d5c42aebe9a75a23593f181c29d0ec9d544fac90b7ba886269ff246 |
|
|
|
|
|
PKG_LICENSE:=BSD-2-Clause |
|
|
|
|
|
PKG_LICENSE_FILES:=LICENSE |
|
|
|
|
|
|
|
|
PKG_MAINTAINER := Samuel Progin <samuel.progin@gmail.com> |
|
|
PKG_MAINTAINER := Samuel Progin <samuel.progin@gmail.com> |
|
|
|
|
|
|
|
@ -30,12 +30,12 @@ endef |
|
|
|
|
|
|
|
|
define Package/temperusb/description |
|
|
define Package/temperusb/description |
|
|
RDing TEMPer v1.4 USB thermometer are cheap devices that can be sourced everywhere on |
|
|
RDing TEMPer v1.4 USB thermometer are cheap devices that can be sourced everywhere on |
|
|
the Internet. This package allow to operate them from user space. |
|
|
|
|
|
|
|
|
the Internet. This package allows to operate them from user space. |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
define Package/temperusb/install |
|
|
define Package/temperusb/install |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_DIR) $(1)/usr/bin |
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/temperv14 $(1)/usr/bin |
|
|
|
|
|
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/temperusb $(1)/usr/bin |
|
|
endef |
|
|
endef |
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,temperusb)) |
|
|
$(eval $(call BuildPackage,temperusb)) |
|
|