blob: 291fad5e6c56da1c115e68278f275d4ab24f3ac8 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Data files for usbmodeswitch"
2LICENSE = "GPLv2"
3LIC_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"