summaryrefslogtreecommitdiff
path: root/recipes/usbutils/usbmodeswitch_1.0.7.bb
blob: bbae1a05b093adcee628af30e653360ef42bd9e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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"

S = "${WORKDIR}/usb_modeswitch-${PV}"

do_compile() {
	oe_runmake clean
	oe_runmake -e
}

do_install() {
	install -d ${D}$bindir}
	install -m 0755 ${S}/usb_modeswitch ${D}${bindir}
}