usbutils: update to 017
authorkrant <aleksey.vasilenko@gmail.com>
Wed, 7 Feb 2024 13:38:02 +0000 (15:38 +0200)
committerRosen Penev <rosenp@gmail.com>
Wed, 7 Feb 2024 22:00:04 +0000 (14:00 -0800)
- Add mandatory usbids dependency

Signed-off-by: krant <aleksey.vasilenko@gmail.com>
utils/usbutils/Makefile

index 45d463277d4147cd73fffec6a1d48d650193f3dc..a8fd9495ab9e51dff02f74c76ac9fc5196d68961 100644 (file)
@@ -8,12 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=usbutils
-PKG_VERSION:=014
+PKG_VERSION:=017
 PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=@KERNEL/linux/utils/usb/usbutils
-PKG_HASH:=3a079cfad60560227b67192482d7813bf96326fcbb66c04254839715f276fc69
+PKG_HASH:=a6a25ffdcf9103e38d7a44732aca17073f4e602b92e4ae55625231a82702e05b
 
 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
 PKG_LICENSE:=GPL-2.0-only
@@ -28,11 +28,14 @@ include $(INCLUDE_DIR)/package.mk
 define Package/usbutils
   SECTION:=utils
   CATEGORY:=Utilities
-  DEPENDS:=+libusb-1.0 +libudev +librt +libpthread
+  DEPENDS:=+libusb-1.0 +libudev +librt +libpthread +usbids
   TITLE:=USB devices listing utilities
   URL:=http://www.linux-usb.org/
 endef
 
+CONFIGURE_ARGS+= \
+       --datadir=/usr/share/hwdata
+
 define Package/usbutils/install
        $(INSTALL_DIR) $(1)/usr/bin
        $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/lsusb $(1)/usr/bin/