summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-07-15 13:27:42 +0200
committerKoen Kooi <koen@openembedded.org>2010-07-15 13:33:39 +0200
commite9973b532b15b0bc465503df77c53c0a9bf919c1 (patch)
treebc6d7ef37af10f1782369a0291c87aa3a92126b9
parentbaea5e731109a1cbe7aff7d83c3c2dbe6ff4a118 (diff)
usbmodeswitch: add 1.1.3
-rw-r--r--recipes/usbutils/usbmodeswitch_1.1.3.bb21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/usbutils/usbmodeswitch_1.1.3.bb b/recipes/usbutils/usbmodeswitch_1.1.3.bb
new file mode 100644
index 0000000000..7b2b70bb39
--- /dev/null
+++ b/recipes/usbutils/usbmodeswitch_1.1.3.bb
@@ -0,0 +1,21 @@
+DESCRIPTION = "tool to switch multidevice usb modes"
+LICENSE = "GPL"
+
+DEPENDS = "virtual/libusb"
+
+SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
+SRC_URI[md5sum] = "571e6b81873231246693d18a9912f55d"
+SRC_URI[sha256sum] = "7d5f0a45ac03eb578678b1f0c99df924b55de40d684aa02f890958c3fe3fcafb"
+
+S = "${WORKDIR}/usb-modeswitch-${PV}"
+
+CFLAGS += "-lusb"
+do_compile() {
+ oe_runmake -e
+}
+
+do_install() {
+ oe_runmake -e install DESTDIR=${D}
+}
+
+FILES_${PN} += "${base_libdir}/udev/usb_modeswitch"