Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | require lcdproc5.inc |
| 2 | |
| 3 | SRC_URI[md5sum] = "df4f5c2c7285eaf6979b9c7768b4877f" |
| 4 | SRC_URI[sha256sum] = "bd2f43c30ff43b30f43110abe6b4a5bc8e0267cb9f57fa97cc5e5ef9488b984a" |
| 5 | |
| 6 | PACKAGECONFIG ?= "" |
| 7 | PACKAGECONFIG[g15] = ",,libg15 g15daemon libg15render," |
| 8 | PACKAGECONFIG[hid] = "--enable-libhid,--disable-libhid,libhid" |
| 9 | |
| 10 | LCD_DRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'g15', '', ',!g15', d)}" |
| 11 | |
| 12 | do_install_append () { |
| 13 | # binaries |
| 14 | install -D -m 0755 clients/lcdvc/lcdvc ${D}${sbindir}/lcdvc |
| 15 | |
| 16 | # configuration files |
| 17 | install -D -m 0644 ${S}/clients/lcdvc/lcdvc.conf ${D}${sysconfdir}/lcdvc.conf |
| 18 | } |
| 19 | |
| 20 | PACKAGES =+ "lcdvc" |
| 21 | CONFFILES_lcdvc = "${sysconfdir}/lcdvc.conf" |
| 22 | FILES_lcdvc = "${sysconfdir}/lcdvc.conf ${sbindir}/lcdvc" |
| 23 | |