blob: b91e5fbfa7082b989267172a2446dfd89f564f84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
require fontconfig_${PV}.bb
inherit native
DEPENDS = "freetype-native expat-native zlib-native"
EXTRA_OEMAKE = ""
EXTRA_OECONF = "${@[' --disable-docs',' --disable-docs --with-freetype-config=%s/freetype-config' % bb.data.getVar('STAGING_BINDIR', d, 1)][os.path.isfile('%s/freetype-config' % bb.data.getVar('STAGING_BINDIR', d, 1))]}"
do_stage () {
oe_runmake install
install fc-lang/fc-lang ${STAGING_BINDIR}
install fc-glyphname/fc-glyphname ${STAGING_BINDIR}
install -d ${STAGING_LIBDIR}/pkgconfig/
install -m 0644 fontconfig.pc ${STAGING_LIBDIR}/pkgconfig/
}
|