summaryrefslogtreecommitdiff
path: root/packages/python
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2006-11-28 21:39:53 +0000
committerKoen Kooi <koen@openembedded.org>2006-11-28 21:39:53 +0000
commit11f545d93b0466e2721df520c4e9e6fdb1a00a8a (patch)
tree6bf5ea28741d1988b96d313ca2222175606a289c /packages/python
parentbb9c1d0013087979cd48ffa7be0acd97400a682d (diff)
python-pygtk2 2.10.3: stage files needed for codegen as well
Diffstat (limited to 'packages/python')
-rw-r--r--packages/python/python-pygtk2_2.10.3.bb7
1 files 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/
}