libsoup: stage libsoup-2.2.pc without using pkgconfig.bbclass

pkgconfig.bbclass was staging libsoup.pc which made builds unusable
if 2.2 and 2.4 versions were used (one overwrote other).
This commit is contained in:
Marcin Juszkiewicz 2009-02-11 14:27:04 +01:00
parent 67063df452
commit d1e8a463a3

View File

@ -3,11 +3,11 @@ LICENSE = "GPL"
SECTION = "x11/gnome/libs"
DEPENDS = "glib-2.0 gnutls libxml2"
PR = "r1"
PR = "r2"
SRC_URI = "http://ftp.gnome.org/pub/GNOME/sources/${PN}/2.2/${PN}-${PV}.tar.bz2"
inherit autotools pkgconfig
inherit autotools
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev = "${includedir}/ ${libdir}/"
@ -15,5 +15,6 @@ FILES_${PN}-doc = "${datadir}/"
do_stage() {
autotools_stage_all
ln -sf ${PKG_CONFIG_DIR}/libsoup.pc ${PKG_CONFIG_DIR}/libsoup-2.2.pc
install -d ${PKG_CONFIG_DIR}
install -m 0644 ${S}/libsoup.pc ${PKG_CONFIG_DIR}/libsoup-2.2.pc
}