blob: 2ae1d619c06d94557cbc06dd98fdf3f72d93b1de [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
Patrick Williams213cb262021-08-07 19:21:33 -050013FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050014 ${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
Patrick Williams213cb262021-08-07 19:21:33 -050020do_install:append() {
Patrick Williamsb48b7b42016-08-17 15:04:38 -050021 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"