temperusb: new package definition
Signed-off-by: Samuel Progin <samuel.progin@gmail.com>
This commit is contained in:
parent
45a832518a
commit
d02ad59302
1 changed files with 42 additions and 0 deletions
42
utils/temperusb/Makefile
Normal file
42
utils/temperusb/Makefile
Normal file
|
@ -0,0 +1,42 @@
|
|||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=temperusb
|
||||
PKG_VERSION:=2.0
|
||||
PKG_RELEASE:=1
|
||||
PKG_CONFIG_DEPENDS:=libusb
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/temperv14-$(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_HASH:=a8f4ef76a2def5a2e3ec351828a042ce8f7a0963eaa6d9d8ce0c8313e2b54526
|
||||
PKG_LICENSE:=BSD-1-Clause
|
||||
PKG_LICENSE_FILES:=temperv14.c
|
||||
|
||||
PKG_MAINTAINER := Samuel Progin <samuel.progin@gmail.com>
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/temperusb
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
DEPENDS:=+libusb-1.0
|
||||
TITLE:=USB Thermometer RDing TEMPer v1.4 reader
|
||||
endef
|
||||
|
||||
define Package/temperusb/description
|
||||
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.
|
||||
endef
|
||||
|
||||
define Package/temperusb/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/temperv14 $(1)/usr/bin
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,temperusb))
|
||||
|
Loading…
Reference in a new issue