Joel Stanley | bc3b51a | 2018-04-23 10:50:44 +0930 | [diff] [blame] | 1 | HOMEPAGE = "https://github.com/jk-ozlabs/fbterm" |
| 2 | LICENSE = "GPLv2+" |
| 3 | |
| 4 | SRC_URI += "git://github.com/jk-ozlabs/fbterm.git;nobranch=1" |
| 5 | SRC_URI += "file://fb.modes" |
| 6 | PR = "r1" |
| 7 | |
| 8 | LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=d8e20eece214df8ef953ed5857862150" |
| 9 | |
| 10 | DEPENDS += "freetype" |
| 11 | DEPENDS += "fontconfig" |
| 12 | |
| 13 | inherit autotools |
| 14 | inherit pkgconfig |
| 15 | inherit obmc-phosphor-systemd |
| 16 | |
| 17 | SRCREV = "c15430560aeb82a27358cc320af4a29e1296e6c1" |
| 18 | PV = "1.7+git${SRCPV}" |
| 19 | |
| 20 | S = "${WORKDIR}/git" |
| 21 | |
| 22 | do_install() { |
| 23 | oe_runmake 'DESTDIR=${D}' install-exec |
| 24 | install -d ${D}${sysconfdir}/ |
| 25 | install -m 0644 ${WORKDIR}/fb.modes ${D}${sysconfdir}/ |
| 26 | } |
| 27 | |
| 28 | SYSTEMD_SERVICE_${PN} += "fbterm.service" |
| 29 | SYSTEMD_ENVIRONMENT_FILE_${PN} += "fbterm" |