xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf.inc (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION ?= "TrueType font package ${PN}"
2*4882a593SmuzhiyunSECTION = "fonts"
3*4882a593Smuzhiyun
4*4882a593Smuzhiyun# we don't need a compiler nor a c library for these fonts
5*4882a593SmuzhiyunINHIBIT_DEFAULT_DEPS = "1"
6*4882a593Smuzhiyun
7*4882a593Smuzhiyundo_install() {
8*4882a593Smuzhiyun    install -d ${D}${datadir}/fonts/truetype/
9*4882a593Smuzhiyun    find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
10*4882a593Smuzhiyun}
11*4882a593Smuzhiyun
12*4882a593Smuzhiyuninherit allarch fontcache
13