kumquat-buildroot/package/usbutils/usbutils.mk
Baruch Siach 900ece12fe usbutils: bump to version 012
Drop the patch adding license files since they are now in the tarball.

On the other hand, a configure script is no longer distributed with the
tarball. Upstream considers that to be "safer":

  https://www.spinics.net/lists/linux-usb/msg179970.html

Don't remove the usb-devices script; it doesn't needs bash anymore.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2019-05-31 00:07:32 +02:00

26 lines
806 B
Makefile

################################################################################
#
# usbutils
#
################################################################################
USBUTILS_VERSION = 012
USBUTILS_SOURCE = usbutils-$(USBUTILS_VERSION).tar.xz
USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils
USBUTILS_DEPENDENCIES = host-pkgconf libusb udev
USBUTILS_LICENSE = GPL-2.0+ (utils) GPL-2.0 or GPL-3.0 (lsusb.py)
USBUTILS_LICENSE_FILES = LICENSES/GPL-2.0.txt LICENSES/GPL-3.0.txt
# Missing configure script
USBUTILS_AUTORECONF = YES
# Nice lsusb.py script only if there's python 3.x
ifeq ($(BR2_PACKAGE_PYTHON3),)
define USBUTILS_REMOVE_PYTHON
rm -f $(TARGET_DIR)/usr/bin/lsusb.py
endef
USBUTILS_POST_INSTALL_TARGET_HOOKS += USBUTILS_REMOVE_PYTHON
endif
$(eval $(autotools-package))