From 11f545d93b0466e2721df520c4e9e6fdb1a00a8a Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Tue, 28 Nov 2006 21:39:53 +0000 Subject: python-pygtk2 2.10.3: stage files needed for codegen as well --- packages/python/python-pygtk2_2.10.3.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/python/python-pygtk2_2.10.3.bb b/packages/python/python-pygtk2_2.10.3.bb index 1af24b410d..7e40042c82 100644 --- a/packages/python/python-pygtk2_2.10.3.bb +++ b/packages/python/python-pygtk2_2.10.3.bb @@ -5,7 +5,7 @@ DEPENDS = "gtk+ libglade python-pycairo python-pygobject" RDEPENDS = "python-shell" SRCNAME = "pygtk" LICENSE = "LGPL" -PR = "ml0" +PR = "ml1" SRC_URI = "ftp://ftp.gnome.org/pub/gnome/sources/pygtk/2.10/${SRCNAME}-${PV}.tar.bz2 \ file://fix-gtkunixprint.patch;patch=1 \ @@ -22,5 +22,8 @@ do_configure_prepend() { do_stage() { autotools_stage_includes - install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR}/ + sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0 + install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR}/ + install -d ${STAGING_DATADIR}/pygtk/2.0/codegen + cp -pPr codegen/*.py* ${STAGING_DATADIR}/pygtk/2.0/codegen/ } -- cgit v1.2.3