blob: 85a64000ee23a16630a3de5079a346b3a7aae31f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
require ttf.inc
SUMMARY = "Inconsolata font - TTF Version"
HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html"
LICENSE = "OFL-1.1"
LIC_FILES_CHKSUM = "file://${UNPACKDIR}/OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed"
SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \
file://OFL.txt"
S = "${WORKDIR}/sources"
UNPACKDIR = "${S}"
FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
${datadir}/doc/ttf-inconsolata/*"
do_configure() {
cp -fr ${UNPACKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf
}
do_install:append() {
install -d ${D}${datadir}/doc/ttf-inconsolata/
install -m 0644 ${UNPACKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/
}
SRC_URI[sha256sum] = "1561e616c414a1b82d6e6dfbd18e5726fd65028913ade191e5fa38b6ec375a1a"
|