mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 21:09:03 +02: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:
parent
67063df452
commit
d1e8a463a3
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user