diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-05-20 16:11:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-22 07:24:52 +0100 |
commit | 71290d7131926b0e8f15126acdf7c5b15e6b4d75 (patch) | |
tree | ede584d127104a68c9f2b540c1cedd212a70e805 /meta/recipes-bsp/usbutils/usbutils_012.bb | |
parent | 783bf15e9de4f2cb08b059d1306ceb30920b9260 (diff) | |
download | poky-71290d7131926b0e8f15126acdf7c5b15e6b4d75.tar.gz |
usbutils: upgrade 010->012
(From OE-Core rev: 22a61a71daa7019e1b89ec5aabbecc0126e453aa)
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_012.bb')
-rw-r--r-- | meta/recipes-bsp/usbutils/usbutils_012.bb | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils_012.bb b/meta/recipes-bsp/usbutils/usbutils_012.bb new file mode 100644 index 0000000000..0213e7af63 --- /dev/null +++ b/meta/recipes-bsp/usbutils/usbutils_012.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=7d4861d978ff5ba7cb2b319ed1d4afe3 \ | ||
9 | file://lsusb.py.in;beginline=2;endline=2;md5=194d6a0226bf90f4f683e8968878b6cd" | ||
10 | |||
11 | DEPENDS = "libusb1 virtual/libiconv udev" | ||
12 | |||
13 | SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "7484445cbcf04b3eacac892fe58f8d9f" | ||
16 | SRC_URI[sha256sum] = "ae2e10aad530d95839b6f4d46cd41715eae6f0f1789310d793e9be21b3e7ae20" | ||
17 | |||
18 | inherit autotools pkgconfig distro_features_check 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" | ||