aboutsummaryrefslogtreecommitdiffstats
path: root/recipes
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2010-04-15 12:29:09 +0200
committerKoen Kooi <koen@openembedded.org>2010-04-15 13:00:51 +0200
commit8cc2abb67933297f25a0abe538a19800fa3fbc3c (patch)
tree7f99e8394956979be4bceaf53cd8cac1d19118f2 /recipes
parente8360af5f8a97d9c2fd114a025c641d51e511b4d (diff)
downloadopenembedded-8cc2abb67933297f25a0abe538a19800fa3fbc3c.tar.gz
python-pygobject 2.20: convert to new style staging
Diffstat (limited to 'recipes')
-rw-r--r--recipes/python/python-pygobject_2.20.0.bb13
1 files changed, 7 insertions, 6 deletions
diff --git a/recipes/python/python-pygobject_2.20.0.bb b/recipes/python/python-pygobject_2.20.0.bb
index bd283cb638..ecad36b388 100644
--- a/recipes/python/python-pygobject_2.20.0.bb
+++ b/recipes/python/python-pygobject_2.20.0.bb
@@ -4,6 +4,8 @@ LICENSE = "LGPL"
DEPENDS = "libffi python-pygobject-native-${PV}"
PE = "1"
+PR = "r1"
+
MAJ_VER = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
SRC_URI = "\
@@ -22,12 +24,11 @@ export HOST_SYS
export GOBJECT_INTROSPECTION_CFLAGS="-pthread -I${STAGING_INCDIR}/gobject-introspection-1.0 -I${STAGING_INCDIR}/glib-2.0 -I${STAGING_LIBDIR}/glib-2.0/include"
-do_stage() {
- autotools_stage_all
- install -d ${STAGING_LIBDIR}/../share/pygobject/
- cp -dpfR docs/* ${STAGING_LIBDIR}/../share/pygobject/
- install -d ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/
- cp docs/style.css ${STAGING_LIBDIR}/../share/gtk-doc/html/pygobject/
+do_install_append() {
+ install -d ${D}${datadir}/pygobject/
+ cp -dpfR docs/* ${D}${datadir}/pygobject/
+ install -d ${D}${datadir}/gtk-doc/html/pygobject/
+ cp docs/style.css ${D}${datadir}/gtk-doc/html/pygobject/
}
PACKAGES += "${PN}-lib"