summaryrefslogtreecommitdiff
path: root/packages/ttf-fonts/ttf.inc
blob: 38cc9b78c0c8b210f11e3eea21f60696fe7915e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
SECTION = "x11/fonts"
PRIORITY = "optional"
PACKAGE_ARCH = "all"
#DEPENDS = "fontconfig opie-ttf-support"
#RSUGGESTS = "libfontconfig-utils opie-ttf-support"

# I dont want TTF fonts to depend on fontconfig on device
# as those fonts are used not only in X11 enviroment

do_install() {
    install -d ${D}${datadir}/fonts/truetype/
    install -m 0644 ${S}/*.ttf ${D}${datadir}/fonts/truetype/
}

#pkg_postinst () {
##!/bin/sh
#fc-cache
#}