summaryrefslogtreecommitdiff
path: root/classes/pkgconfig.bbclass
blob: d65f8a6253d377a74e01ff31e4e4201a0b5683d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
inherit base

DEPENDS_prepend = "pkgconfig-native "

do_stage_append () {
	install -d ${PKG_CONFIG_DIR}
	for pc in `find ${S} -name '*.pc' -type f | grep -v -- '-uninstalled.pc$'`; do
		pcname=`basename $pc`
		cat $pc > ${PKG_CONFIG_DIR}/$pcname
	done
}