summaryrefslogtreecommitdiff
path: root/packages/python/python-pygtk2_2.6.3.bb
diff options
context:
space:
mode:
authorPhilipp Zabel <philipp.zabel@gmail.com>2007-03-19 19:17:26 +0000
committerPhilipp Zabel <philipp.zabel@gmail.com>2007-03-19 19:17:26 +0000
commite331cce33abbcf242f8c8fa1dd152ca4ca3f7eb9 (patch)
treeeba5238effafb90f10513f7c685a6f135a357910 /packages/python/python-pygtk2_2.6.3.bb
parent5a7a2b17fe987077d43dadaaacf8070bc6b90ca6 (diff)
python-pygtk2: fix staging
Diffstat (limited to 'packages/python/python-pygtk2_2.6.3.bb')
-rw-r--r--packages/python/python-pygtk2_2.6.3.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/python/python-pygtk2_2.6.3.bb b/packages/python/python-pygtk2_2.6.3.bb
index b1c4476b54..61250631ef 100644
--- a/packages/python/python-pygtk2_2.6.3.bb
+++ b/packages/python/python-pygtk2_2.6.3.bb
@@ -24,5 +24,11 @@ do_configure_prepend() {
do_stage() {
autotools_stage_includes
+ sed -i s:/usr/share:${STAGING_DATADIR}: codegen/pygtk-codegen-2.0
install -m 0755 codegen/pygtk-codegen-2.0 ${STAGING_BINDIR_NATIVE}/
+ install -d ${STAGING_DATADIR}/pygtk/2.0/codegen
+ install -d ${STAGING_DATADIR}/pygtk/2.0/defs/
+ cp -pPr codegen/*.py* ${STAGING_DATADIR}/pygtk/2.0/codegen/
+ cp -pPr *.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
+ cp -pPr gtk/*.defs ${STAGING_DATADIR}/pygtk/2.0/defs/
}