summaryrefslogtreecommitdiff
path: root/recipes/fontconfig/fontconfig_2.3.91.bb
blob: ec6ef8e0370ada8a5eeefdfa19cc1e7ea7edede9 (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
require fontconfig.inc

DEPENDS += "fontconfig-native"

SRC_URI += "file://fc-glyphname.patch;patch=1 \
           file://fc-lang.patch;patch=1 \
           file://one-j-too-many.patch;patch=1 \
           file://local.conf"

PR = "r3"

do_stage () {
	oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/fontconfig
	for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
}

do_install () {
	autotools_do_install

	install -d ${D}/etc/fonts/
	install -m 0644 ${WORKDIR}/local.conf ${D}/etc/fonts/
}