blob: 51f909b79575c6e560fc4602ae7274f3a698b60c [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001SUMMARY = "Host side USB console utilities"
2DESCRIPTION = "Contains the lsusb utility for inspecting the devices connected to the USB bus."
3HOMEPAGE = "http://www.linux-usb.org"
4SECTION = "base"
5
6LICENSE = "GPLv2+ & (GPLv2 | GPLv3)"
7# License files went missing in 010, when 011 is released add LICENSES/* back
8LIC_FILES_CHKSUM = "file://lsusb.c;endline=1;md5=7d4861d978ff5ba7cb2b319ed1d4afe3 \
9 file://lsusb.py.in;beginline=2;endline=2;md5=194d6a0226bf90f4f683e8968878b6cd"
10
11DEPENDS = "libusb1 virtual/libiconv udev"
12
13SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080014 "
Andrew Geissler6ce62a22020-11-30 19:58:47 -060015SRC_URI[sha256sum] = "efdfd5403dbdd7412de6bb897d5fbaae65ef3eb4332032c0e1f216216618e9a9"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080016
Andrew Geissler5a43b432020-06-13 10:46:56 -050017inherit autotools pkgconfig update-alternatives
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080018
19ALTERNATIVE_${PN} = "lsusb"
20ALTERNATIVE_PRIORITY = "100"
21
22# The binaries are mostly GPLv2+ apart from lsusb.py which is GPLv2 or v3.
23LICENSE_${PN} = "GPLv2+"
24LICENSE_${PN}-python = "GPLv2 | GPLv3"
25
26RRECOMMENDS_${PN} = "udev-hwdb"
27
28PACKAGE_BEFORE_PN =+ "${PN}-python"
29FILES_${PN}-python += "${bindir}/lsusb.py"
30RDEPENDS_${PN}-python = "python3-core"