aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/usb-modeswitch
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-09-27 15:02:07 +0200
committerKoen Kooi <koen@openembedded.org>2010-09-27 15:02:07 +0200
commit1279c80d4f2fa0d29cc9ff1d26a037e46b3b7e07 (patch)
tree7707bb2084bb2fb38571ec232488bd833ff78458 /recipes/usb-modeswitch
parent3d7f3a9e493b6ac454b89add37108083b5cbfa97 (diff)
downloadopenembedded-1279c80d4f2fa0d29cc9ff1d26a037e46b3b7e07.tar.gz
usb-modewitch: add 1.1.4
Diffstat (limited to 'recipes/usb-modeswitch')
-rw-r--r--recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb b/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb
new file mode 100644
index 0000000000..b19721691e
--- /dev/null
+++ b/recipes/usb-modeswitch/usb-modeswitch_1.1.4.bb
@@ -0,0 +1,22 @@
+DESCRIPTION = "A mode switching tool for controlling 'flip flop' (multiple device) USB gear"
+SECTION = "base"
+PRIORITY = "required"
+LICENSE = "GPLv2"
+DEPENDS = "virtual/libusb0"
+
+SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
+SRC_URI[md5sum] = "a04db36bd0fc6fb303df7567f677b714"
+SRC_URI[sha256sum] = "c20abfdf9d46fb83e1b82f961a9f6ec8064bed3304155b6e1af7cf596845d0d0"
+
+FILES_${PN} = "${bindir} ${sysconfdir}"
+
+do_compile() {
+ oe_runmake
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -d ${D}${sysconfdir}
+ install -m 0755 ${S}/usb_modeswitch ${D}${bindir}/usb_modeswitch
+ install -m 0644 ${S}/usb_modeswitch.conf ${D}${sysconfdir}/usb_modeswitch.conf
+}