lua-rs232: fix compilation with GCC13
[feed/packages.git] / utils / uhubctl / Makefile
1 include $(TOPDIR)/rules.mk
2
3 PKG_NAME:=uhubctl
4 PKG_VERSION:=2.5.0
5 PKG_RELEASE:=1
6
7 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
8 PKG_SOURCE_URL:=https://codeload.github.com/mvp/uhubctl/tar.gz/v$(PKG_VERSION)?
9 PKG_HASH:=d4452252f7862f7a45dd9c62f2ea7cd3a57ab5f5ab0e54a857d4c695699bbba3
10
11 PKG_LICENSE:=GPL-2.0-only
12 PKG_LICENSE_FILES:=COPYING LICENSE
13
14 PKG_MAINTAINER:=Steven Honson <steven@honson.id.au>
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/uhubctl
19 SECTION:=utils
20 CATEGORY:=Utilities
21 TITLE:=USB hub per-port power control
22 URL:=https://github.com/mvp/uhubctl
23 DEPENDS:=+libusb-1.0
24 endef
25
26 define Package/uhubctl/description
27 uhubctl is a utility that allows you to control USB power on USB hubs that
28 implement per-port or ganged power switching.
29 endef
30
31 define Package/uhubctl/install
32 $(INSTALL_DIR) $(1)/usr/sbin
33 $(INSTALL_BIN) $(PKG_BUILD_DIR)/uhubctl $(1)/usr/sbin/
34 endef
35
36 $(eval $(call BuildPackage,uhubctl))