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