mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
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:
@@ -3,11 +3,11 @@ LICENSE = "GPL"
|
|||||||
SECTION = "x11/gnome/libs"
|
SECTION = "x11/gnome/libs"
|
||||||
|
|
||||||
DEPENDS = "glib-2.0 gnutls libxml2"
|
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"
|
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} = "${libdir}/lib*.so.*"
|
||||||
FILES_${PN}-dev = "${includedir}/ ${libdir}/"
|
FILES_${PN}-dev = "${includedir}/ ${libdir}/"
|
||||||
@@ -15,5 +15,6 @@ FILES_${PN}-doc = "${datadir}/"
|
|||||||
|
|
||||||
do_stage() {
|
do_stage() {
|
||||||
autotools_stage_all
|
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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user