summaryrefslogtreecommitdiff
path: root/packages/usbutils
diff options
context:
space:
mode:
Diffstat (limited to 'packages/usbutils')
-rw-r--r--packages/usbutils/.mtn2git_empty0
-rw-r--r--packages/usbutils/usbutils_0.70.bb24
2 files changed, 24 insertions, 0 deletions
diff --git a/packages/usbutils/.mtn2git_empty b/packages/usbutils/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/usbutils/.mtn2git_empty
diff --git a/packages/usbutils/usbutils_0.70.bb b/packages/usbutils/usbutils_0.70.bb
index e69de29bb2..9c03730cbf 100644
--- a/packages/usbutils/usbutils_0.70.bb
+++ b/packages/usbutils/usbutils_0.70.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Host side USB console utilities."
+SECTION = "base"
+DEPENDS += "libusb"
+LICENSE = "GPL"
+PRIORITY = "optional"
+DEFAULT_PREFERENCE = "1"
+
+PREMIRRORS_prepend () {
+ ${SOURCEFORGE_MIRROR} http://unc.dl.sourceforge.net/sourceforge
+}
+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
+}