aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/usbutils/usbutils_007.bb
diff options
context:
space:
mode:
authorRadu Moisan <radu.moisan@intel.com>2013-07-02 18:21:57 +0300
committerSaul Wold <sgw@linux.intel.com>2013-07-09 07:56:13 -0700
commiteb6bd747e7ab929bd5f134cb1950f29f418cf9f1 (patch)
tree4d5fe3ea1c3a06566746e7d957b142ac8ab10873 /meta/recipes-bsp/usbutils/usbutils_007.bb
parent6e329a8fc96eabf43c62b44ea7b082068e633ab7 (diff)
downloadopenembedded-core-eb6bd747e7ab929bd5f134cb1950f29f418cf9f1.tar.gz
usbutils: Upgrade to v007
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-bsp/usbutils/usbutils_007.bb')
-rw-r--r--meta/recipes-bsp/usbutils/usbutils_007.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-bsp/usbutils/usbutils_007.bb b/meta/recipes-bsp/usbutils/usbutils_007.bb
new file mode 100644
index 0000000000..45f829fe7f
--- /dev/null
+++ b/meta/recipes-bsp/usbutils/usbutils_007.bb
@@ -0,0 +1,29 @@
+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=94d55d512a9ba36caa9b7df079bae19f"
+
+DEPENDS = "libusb zlib"
+
+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"
+
+SRC_URI[md5sum] = "be6c42294be5c940f208190d3479d50c"
+SRC_URI[sha256sum] = "e65c234cadf7c81b6b1567c440e3b9b31b44f51c27df3e45741b88848d8b37d3"
+
+inherit autotools
+
+do_install_append() {
+ # We only need the compressed copy, remove the uncompressed version
+ rm -f ${D}${datadir}/usb.ids
+}
+
+PACKAGES += "${PN}-ids"
+FILES_${PN}-dev += "${datadir}/pkgconfig"
+FILES_${PN}-ids = "${datadir}/usb*"
+
+RDEPENDS_${PN} = "${PN}-ids"