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/ }