blob: 4236e57eed4bba81f00fccbf4d982dab37163c4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
DESCRIPTION = "tool to switch multidevice usb modes"
LICENSE = "GPL"
DEPENDS = "virtual/libusb0"
SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2"
SRC_URI[md5sum] = "571e6b81873231246693d18a9912f55d"
SRC_URI[sha256sum] = "7d5f0a45ac03eb578678b1f0c99df924b55de40d684aa02f890958c3fe3fcafb"
S = "${WORKDIR}/usb-modeswitch-${PV}"
CFLAGS += "-lusb"
do_compile() {
oe_runmake -e
}
do_install() {
oe_runmake -e install DESTDIR=${D}
}
FILES_${PN} += "${base_libdir}/udev/usb_modeswitch"
|