summaryrefslogtreecommitdiff
path: root/classes/pkgconfig.bbclass
blob: 2a8199d135da51a7d43733ba7dbeaac529a2fc08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
inherit base

DEPENDS_prepend = "pkgconfig-native "

do_install_prepend () {

for i in `find ${S}/ -name "*.pc" -type f` ; do \
            sed -i -e 's:-L${STAGING_LIBDIR}::g' $i
        done
}

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
}
amp;id=6579e8daf68dd520b702412208bfeae85af6fadc'>make python 2.4 as default, move python-sip into python/, make sip4 as defaultMichael Lauer1 2005-01-16Merge bk://oe-devel.bkbits.net/openembeddednslu2-linux.adm@bkbits.net1