summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbutils/usbutils_008.bb
blob: 0f2d8d47c4c975f585e3a7e5156b81093bc136a4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SUMMARY = "Host side USB console utilities"
DESCRIPTION = "Contains the lsusb utility for inspecting the devices connected to the USB bus."
HOMEPAGE = "http://www.linux-usb.org"
SECTION = "base"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "libusb zlib virtual/libiconv systemd"

SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz \
           file://usb-devices-avoid-dependency-on-bash.patch \
           file://Fix-NULL-pointer-crash.patch \
           file://iconv.patch \
          "

SRC_URI[md5sum] = "cb20148c2e784577e924a7b4c560c8fb"
SRC_URI[sha256sum] = "6d5f16c2961df37e22e492c736a3e162a8fde24480f23a40d85f79af80d3fe95"

inherit autotools gettext pkgconfig distro_features_check
# This version of usbutils relies on the udev from systemd, so unless 
# we can decouple udev from system, we require systemd for now.
REQUIRED_DISTRO_FEATURES = "systemd"

FILES_${PN}-dev += "${datadir}/pkgconfig"

RDEPENDS_${PN} = "libudev"
RDEPENDS_${PN}-ptest = "libboost-system libboost-thread"