blob: bf32fedc3bea082ab7dec552ae305eaf785f22d7 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001require ttf.inc
2
3SUMMARY = "Inconsolata font - TTF Version"
4HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html"
5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://../OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed"
7
8SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \
9 file://OFL.txt"
10
11S = "${WORKDIR}/ttf-inconsolata-${PV}"
12
13FILES_${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
14 ${datadir}/doc/ttf-inconsolata/*"
15
16do_configure() {
Andrew Geissler82c905d2020-04-13 13:39:40 -050017 cp -fr ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf
Patrick Williamsb48b7b42016-08-17 15:04:38 -050018}
19
20do_install_append() {
21 install -d ${D}${datadir}/doc/ttf-inconsolata/
22 install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/
23}
24
25SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf"
26SRC_URI[sha256sum] = "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a"