blob: b93b2bd9e5648158e07cf2b843c0943d5181099a [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "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+"
7LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
8
9DEPENDS = "libusb zlib virtual/libiconv"
10
11SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
12 file://usb-devices-avoid-dependency-on-bash.patch \
13 file://Fix-NULL-pointer-crash.patch \
14 file://iconv.patch \
15 "
16
17SRC_URI[md5sum] = "be6c42294be5c940f208190d3479d50c"
18SRC_URI[sha256sum] = "e65c234cadf7c81b6b1567c440e3b9b31b44f51c27df3e45741b88848d8b37d3"
19
20inherit autotools gettext pkgconfig
21
22do_install_append() {
23 # We only need the compressed copy, remove the uncompressed version
24 rm -f ${D}${datadir}/usb.ids
25}
26
27PACKAGES += "${PN}-ids"
28FILES_${PN}-dev += "${datadir}/pkgconfig"
29FILES_${PN}-ids = "${datadir}/usb*"
30
31RDEPENDS_${PN} = "${PN}-ids"