summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbutils/usbutils_0.91.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-bsp/usbutils/usbutils_0.91.bb')
-rw-r--r--meta/recipes-bsp/usbutils/usbutils_0.91.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils_0.91.bb b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
new file mode 100644
index 0000000..c4f40e9
--- /dev/null
+++ b/meta/recipes-bsp/usbutils/usbutils_0.91.bb
@@ -0,0 +1,29 @@
1SUMMARY = "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"
5PRIORITY = "optional"
6
7LICENSE = "GPLv2+"
8LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
9
10DEPENDS = "libusb zlib"
11RDEPENDS_${PN} = "${PN}-ids"
12PR = "r1"
13
14SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz"
15
16SRC_URI[md5sum] = "49de2403b40bf3a9863faaa8d3858deb"
17SRC_URI[sha256sum] = "c122346b0225121bcf159abf804116f826a4a3462c94ce7b8871f7559e6b3a46"
18
19inherit autotools
20
21do_install_append() {
22 ln -s ../sbin/lsusb ${D}${bindir}/lsusb
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} += "${datadir}/pkgconfig"
29FILES_${PN}-ids = "${datadir}/usb*"