Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Data files for usbmodeswitch" |
| 2 | LICENSE = "GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 4 | |
| 5 | inherit allarch |
| 6 | |
| 7 | DEPENDS += "tcl-native" |
| 8 | |
| 9 | SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2" |
| 10 | SRC_URI[md5sum] = "e8fce7eb949cbe16c61fb71bade4cc17" |
| 11 | SRC_URI[sha256sum] = "3f039b60791c21c7cb15c7986cac89650f076dc274798fa242231b910785eaf9" |
| 12 | |
| 13 | do_install() { |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 14 | oe_runmake install DESTDIR=${D} RULESDIR=${D}/${nonarch_base_libdir}/udev/rules.d |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | RDEPENDS_${PN} = "usb-modeswitch (>= 2.4.0)" |
Andrew Geissler | bbbd5f4 | 2020-10-30 15:42:48 -0500 | [diff] [blame] | 18 | FILES_${PN} += "${nonarch_base_libdir}/udev/rules.d/ \ |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 19 | ${datadir}/usb_modeswitch" |