From 72834ed878dae08dd62c68e14dcebfe3c9bad791 Mon Sep 17 00:00:00 2001 From: Evan Doiron Date: Wed, 26 Aug 2009 08:14:27 +0000 Subject: usb-modeswitch: add v1.0.2 Signed-off-by: Evan Doiron Signed-off-by: Michael Smith Acked-by: Khem Raj --- recipes/usb-modeswitch/usb-modeswitch_1.0.2.bb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes/usb-modeswitch/usb-modeswitch_1.0.2.bb (limited to 'recipes/usb-modeswitch/usb-modeswitch_1.0.2.bb') 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 +} -- cgit v1.2.3