blob: 351fe44d70e5b8d854f7ec1a511ab14188dbc9a1 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Data files for usbmodeswitch"
Andrew Geissler9aee5002022-03-30 16:27:02 +00002LICENSE = "GPL-2.0-only"
Andrew Geissler82c905d2020-04-13 13:39:40 -05003LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
4
5inherit allarch
6
7DEPENDS += "tcl-native"
8
9SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2"
10SRC_URI[md5sum] = "e8fce7eb949cbe16c61fb71bade4cc17"
11SRC_URI[sha256sum] = "3f039b60791c21c7cb15c7986cac89650f076dc274798fa242231b910785eaf9"
12
13do_install() {
Andrew Geisslerbbbd5f42020-10-30 15:42:48 -050014 oe_runmake install DESTDIR=${D} RULESDIR=${D}/${nonarch_base_libdir}/udev/rules.d
Andrew Geissler82c905d2020-04-13 13:39:40 -050015}
16
Patrick Williams213cb262021-08-07 19:21:33 -050017RDEPENDS:${PN} = "usb-modeswitch (>= 2.4.0)"
18FILES:${PN} += "${nonarch_base_libdir}/udev/rules.d/ \
Andrew Geissler82c905d2020-04-13 13:39:40 -050019 ${datadir}/usb_modeswitch"