summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/usbutils/usbutils_0.72.bb21
-rw-r--r--meta/packages/usbutils/usbutils_0.86.bb24
2 files changed, 24 insertions, 21 deletions
diff --git a/meta/packages/usbutils/usbutils_0.72.bb b/meta/packages/usbutils/usbutils_0.72.bb
deleted file mode 100644
index 0dbd79999..000000000
--- a/meta/packages/usbutils/usbutils_0.72.bb
+++ /dev/null
@@ -1,21 +0,0 @@
-DESCRIPTION = "Host side USB console utilities."
-SECTION = "base"
-DEPENDS += "libusb"
-LICENSE = "GPL"
-PRIORITY = "optional"
-DEFAULT_PREFERENCE = "1"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz"
-S = "${WORKDIR}/usbutils-${PV}"
-
-inherit autotools
-
-EXTRA_OECONF = "--program-prefix="
-sbindir = "/sbin"
-bindir = "/bin"
-
-FILES_${PN} += "${datadir}/usb*"
-
-do_configure_prepend() {
- rm -rf ${S}/libusb
-}
diff --git a/meta/packages/usbutils/usbutils_0.86.bb b/meta/packages/usbutils/usbutils_0.86.bb
new file mode 100644
index 000000000..8e4a3da45
--- /dev/null
+++ b/meta/packages/usbutils/usbutils_0.86.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Host side USB console utilities."
+HOMEPAGE = "http://www.linux-usb.org"
+SECTION = "base"
+PRIORITY = "optional"
+
+LICENSE = "GPLv2+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+
+DEPENDS = "libusb zlib"
+RDEPENDS_${PN} = "${PN}-ids"
+PR = "r0"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/linux-usb/usbutils-${PV}.tar.gz"
+
+inherit autotools
+
+do_install_append() {
+ ln -s ../sbin/lsusb ${D}${bindir}/lsusb
+}
+
+PACKAGES += "${PN}-ids"
+
+FILES_${PN} += "${datadir}/pkgconfig"
+FILES_${PN}-ids = "${datadir}/usb*"