blob: ca970e59bb3aa4af51b1a1ee75fbd5c4a2e9c45a [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
17RDEPENDS_${PN} = "usb-modeswitch (>= 2.4.0)"
Andrew Geisslerbbbd5f42020-10-30 15:42:48 -050018FILES_${PN} += "${nonarch_base_libdir}/udev/rules.d/ \
Andrew Geissler82c905d2020-04-13 13:39:40 -050019 ${datadir}/usb_modeswitch"