summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/ttf-fonts/ttf.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics/ttf-fonts/ttf.inc')
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf.inc b/meta-oe/recipes-graphics/ttf-fonts/ttf.inc
new file mode 100644
index 000000000..c77af3993
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf.inc
@@ -0,0 +1,12 @@
1DESCRIPTION ?= "TrueType font package ${PN}"
2SECTION = "fonts"
3
4# we don't need a compiler nor a c library for these fonts
5INHIBIT_DEFAULT_DEPS = "1"
6
7do_install() {
8 install -d ${D}${datadir}/fonts/truetype/
9 find ./ -name '*.tt[cf]' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
10}
11
12inherit allarch fontcache