[oe-commits] Koen Kooi : python-pygobject 2.20: convert to new style staging
git version control
git at git.openembedded.org
Thu Apr 15 11:02:37 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 8cc2abb67933297f25a0abe538a19800fa3fbc3c
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8cc2abb67933297f25a0abe538a19800fa3fbc3c
Author: Koen Kooi <koen at openembedded.org>
Date: Thu Apr 15 12:29:09 2010 +0200
python-pygobject 2.20: convert to new style staging
---
recipes/python/python-pygobject_2.20.0.bb | 13 +++++++------
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 bd283cb..ecad36b 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"
More information about the Openembedded-commits
mailing list