blob: e728f1a19026f7ced06269d052775a752f2252fd [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
Andrew Geissler7e0e3c02022-02-25 20:34:39 +00006LICENSE = "GPL-2.0-or-later & (GPL-2.0-only | GPL-3.0-only)"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08007# License files went missing in 010, when 011 is released add LICENSES/* back
Andrew Geisslerd159c7f2021-09-02 21:05:58 -05008LIC_FILES_CHKSUM = "file://lsusb.c;endline=1;md5=7226e442a172bcf25807246d7ef1eba1 \
9 file://lsusb.py.in;beginline=2;endline=2;md5=c443ada211d701156e42ea36d41625b3 \
10 "
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080011
12DEPENDS = "libusb1 virtual/libiconv udev"
13
14SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080015 "
Andrew Geisslerd159c7f2021-09-02 21:05:58 -050016SRC_URI[sha256sum] = "59398ab012888dfe0fd12e447b45f36801e9d7b71d9a865fc38e2f549afdb9d0"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080017
Andrew Geissler5a43b432020-06-13 10:46:56 -050018inherit autotools pkgconfig update-alternatives
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080019
Patrick Williams213cb262021-08-07 19:21:33 -050020ALTERNATIVE:${PN} = "lsusb"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080021ALTERNATIVE_PRIORITY = "100"
22
Andrew Geissler9aee5002022-03-30 16:27:02 +000023# The binaries are mostly GPL-2.0-or-later apart from lsusb.py which is
24# GPL-2.0-only or GPL-3.0-only.
Andrew Geissler7e0e3c02022-02-25 20:34:39 +000025LICENSE:${PN} = "GPL-2.0-or-later"
26LICENSE:${PN}-python = "GPL-2.0-only | GPL-3.0-only"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080027
Patrick Williams213cb262021-08-07 19:21:33 -050028RRECOMMENDS:${PN} = "udev-hwdb"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080029
30PACKAGE_BEFORE_PN =+ "${PN}-python"
Patrick Williams213cb262021-08-07 19:21:33 -050031FILES:${PN}-python += "${bindir}/lsusb.py"
32RDEPENDS:${PN}-python = "python3-core"