summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Doiron <edoiron@cbnco.com>2009-08-26 08:14:27 +0000
committerMichael Smith <msmith@cbnco.com>2009-08-31 11:57:56 -0400
commit72834ed878dae08dd62c68e14dcebfe3c9bad791 (patch)
tree1d934f4b7e53341ee0040947bcbb076a0aed128f
parent91c6116d7fc0d138eccb979f1135ee686fe38bbb (diff)
usb-modeswitch: add v1.0.2
Signed-off-by: Evan Doiron <edoiron@cbnco.com> Signed-off-by: Michael Smith <msmith@cbnco.com> Acked-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--conf/checksums.ini4
-rw-r--r--recipes/usb-modeswitch/usb-modeswitch_1.0.2.bb23
2 files changed, 27 insertions, 0 deletions
diff --git a/conf/checksums.ini b/conf/checksums.ini
index 0c7e287a02..e6f5cbf050 100644
--- a/conf/checksums.ini
+++ b/conf/checksums.ini
@@ -24722,6 +24722,10 @@ sha256=dbc5d6921136711f08c197284ec67dc77232559e2e31429f8a30a1a102bd07f7
md5=042c5243ce0253341fe920a8a863e37b
sha256=6d2ae5d70609df7d2c2b518eca0624c4a59328b277ed114b9e5b57dd030e6e94
+[http://www.draisberghof.de/usb_modeswitch/usb_modeswitch-1.0.2.tar.bz2]
+md5=4f896ed631f9be0338df9c5a2145ef82
+sha256=f1b9388f4507185a4ac30bae3383d9e9bbb95075a14dd188c904cacdd8cf4e66
+
[http://www.rpsys.net/openzaurus/patches/archive/usb_pxa27x_udc-r0.patch]
md5=c8193bc27642fa446d702cfdb9464c2a
sha256=2101f292449cbacc277aecc5c649de895d501057f299e8e48a7ec50cfb0a200d
diff --git a/recipes/usb-modeswitch/usb-modeswitch_1.0.2.bb b/recipes/usb-modeswitch/usb-modeswitch_1.0.2.bb
new file mode 100644
index 0000000000..3919106a95
--- /dev/null
+++ b/recipes/usb-modeswitch/usb-modeswitch_1.0.2.bb
@@ -0,0 +1,23 @@
+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"
+
+S = "${WORKDIR}/usb_modeswitch-${PV}"
+
+PACKAGES = "${PN}"
+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
+}