blob: 20041bb7b3a62ae419bb349c455f3b59362f2a86 [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() {
17 mv ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf
18}
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"