cornucopia: bump SRCREV
[openembedded.git] / recipes / ttf-fonts / ttf.inc
blobaf3f278536d0207a5375ea0ac23faeefef941940
1 DESCRIPTION ?= "TrueType font package ${PN}"
2 SECTION = "fonts"
3 PRIORITY = "optional"
4 # don't use RRECOMMENDS_${PN} here because sometimes each font is packaged to separate package and each one needs this dep to call update-fonts
5 RRECOMMENDS += "font-update-common"
7 # we don't need a compiler nor a c library for these fonts
8 INHIBIT_DEFAULT_DEPS = "1"
10 do_install() {
11     install -d ${D}${datadir}/fonts/truetype/
12     find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
15 pkg_postinst_append() {
16     update-fonts
19 pkg_postrm_append() {
20     update-fonts
23 PACKAGE_ARCH = "all"