diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-08-22 14:50:24 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-23 08:25:52 +0100 |
commit | 986f902eb9467e5d6d825ac051df21c380ad3247 (patch) | |
tree | bb89b593b8e5bdc4a51c2abfa26a50cb19cbe0b7 /meta/recipes-bsp/usbutils/usbutils_014.bb | |
parent | 2eb889523f7146fe36002779b2cfd3419078ee13 (diff) | |
download | poky-986f902eb9467e5d6d825ac051df21c380ad3247.tar.gz |
usbutils: upgrade 013 -> 014
License-Update: SPDX ids corrected, license are same.
(From OE-Core rev: e433203b4c35eb5a9cf76349f9cd3e18f4b633dd)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/usbutils/usbutils_014.bb')
-rw-r--r-- | meta/recipes-bsp/usbutils/usbutils_014.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils_014.bb b/meta/recipes-bsp/usbutils/usbutils_014.bb new file mode 100644 index 0000000000..ef3fd749c0 --- /dev/null +++ b/meta/recipes-bsp/usbutils/usbutils_014.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | SUMMARY = "Host side USB console utilities" | ||
2 | DESCRIPTION = "Contains the lsusb utility for inspecting the devices connected to the USB bus." | ||
3 | HOMEPAGE = "http://www.linux-usb.org" | ||
4 | SECTION = "base" | ||
5 | |||
6 | LICENSE = "GPLv2+ & (GPLv2 | GPLv3)" | ||
7 | # License files went missing in 010, when 011 is released add LICENSES/* back | ||
8 | LIC_FILES_CHKSUM = "file://lsusb.c;endline=1;md5=7226e442a172bcf25807246d7ef1eba1 \ | ||
9 | file://lsusb.py.in;beginline=2;endline=2;md5=c443ada211d701156e42ea36d41625b3 \ | ||
10 | " | ||
11 | |||
12 | DEPENDS = "libusb1 virtual/libiconv udev" | ||
13 | |||
14 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \ | ||
15 | " | ||
16 | SRC_URI[sha256sum] = "59398ab012888dfe0fd12e447b45f36801e9d7b71d9a865fc38e2f549afdb9d0" | ||
17 | |||
18 | inherit autotools pkgconfig update-alternatives | ||
19 | |||
20 | ALTERNATIVE:${PN} = "lsusb" | ||
21 | ALTERNATIVE_PRIORITY = "100" | ||
22 | |||
23 | # The binaries are mostly GPLv2+ apart from lsusb.py which is GPLv2 or v3. | ||
24 | LICENSE:${PN} = "GPLv2+" | ||
25 | LICENSE:${PN}-python = "GPLv2 | GPLv3" | ||
26 | |||
27 | RRECOMMENDS:${PN} = "udev-hwdb" | ||
28 | |||
29 | PACKAGE_BEFORE_PN =+ "${PN}-python" | ||
30 | FILES:${PN}-python += "${bindir}/lsusb.py" | ||
31 | RDEPENDS:${PN}-python = "python3-core" | ||