[oe-commits] Koen Kooi : python-pygtk2: install .pc file

git version control git at git.openembedded.org
Thu Jul 22 12:10:24 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: cb7b0a0540db8607a85e59640f6b2537001089eb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=cb7b0a0540db8607a85e59640f6b2537001089eb

Author: Koen Kooi <koen at openembedded.org>
Date:   Thu Jul 22 14:09:54 2010 +0200

python-pygtk2: install .pc file

---

 recipes/python/python-pygtk_2.16.0.bb |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/recipes/python/python-pygtk_2.16.0.bb b/recipes/python/python-pygtk_2.16.0.bb
index 1b0a12b..699bd5d 100644
--- a/recipes/python/python-pygtk_2.16.0.bb
+++ b/recipes/python/python-pygtk_2.16.0.bb
@@ -6,7 +6,7 @@ RDEPENDS_${PN} = "python-shell python-pycairo python-pygobject"
 PROVIDES = "python-pygtk2"
 SRCNAME = "pygtk"
 LICENSE = "LGPL"
-PR = "r2"
+PR = "r3"
 
 MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
 SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/${MAJ_VER}/${SRCNAME}-${PV}.tar.bz2;name=pygtk \
@@ -38,6 +38,8 @@ do_install_append() {
 	find ${D} -name "*.la"|xargs rm -f
 	rm -f ${D}/${bindir}/pygtk-codegen-2.0
 	rm -rf ${D}/${libdir}/pkgconfig
+	install -d ${D}${libdir}/pkgconfig
+	install -m 0644 ${S}/*.pc ${D}${libdir}/pkgconfig
 }
 
 # dirty fix #2: fix build system paths leaking in





More information about the Openembedded-commits mailing list