base.bbclass: add support for SOC_FAMILY in COMPATIBLE_MACHINES
[openembedded.git] / recipes / usbutils / usbmodeswitch_1.1.3.bb
blob4236e57eed4bba81f00fccbf4d982dab37163c4c
1 DESCRIPTION = "tool to switch multidevice usb modes"
2 LICENSE = "GPL"
4 DEPENDS = "virtual/libusb0"
6 SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
7 SRC_URI[md5sum] = "571e6b81873231246693d18a9912f55d"
8 SRC_URI[sha256sum] = "7d5f0a45ac03eb578678b1f0c99df924b55de40d684aa02f890958c3fe3fcafb"
10 S = "${WORKDIR}/usb-modeswitch-${PV}"
12 CFLAGS += "-lusb"
13 do_compile() {
14 oe_runmake -e
17 do_install() {
18 oe_runmake -e install DESTDIR=${D}
21 FILES_${PN} += "${base_libdir}/udev/usb_modeswitch"