[oe-commits] Michael 'Mickey' Lauer : python-sip: catch up with upstream changes

git version control git at git.openembedded.org
Thu May 5 20:01:52 UTC 2011


Module: openembedded.git
Branch: testing-next
Commit: 36b9a8ea02608a946b82075324e91206ace574cd
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=36b9a8ea02608a946b82075324e91206ace574cd

Author: Michael 'Mickey' Lauer <mickey at vanille-media.de>
Date:   Tue May  3 20:16:02 2011 +0200

python-sip: catch up with upstream changes

upstream did change a lot, and with the next major version
of sip they will change everything again. Take care when
updating this recipe.

---

 recipes/python/python-sip.inc |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes/python/python-sip.inc b/recipes/python/python-sip.inc
index 99af450..04ef450 100644
--- a/recipes/python/python-sip.inc
+++ b/recipes/python/python-sip.inc
@@ -24,13 +24,15 @@ EXTRA_QMAKEVARS_POST += " TEMPLATE=lib \
 
 
 do_configure_prepend() {
-	cat siplib.sbf | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, > siplib.pro
+	cat siplib.sbf.in | sed s,target,TARGET, | sed s,sources,SOURCES, | sed s,headers,HEADERS, | sed s, at CFG_MODULE_BASENAME@,sip, > siplib.pro
+	cat siplib.c.in | sed s, at CFG_MODULE_BASENAME@,sip, > siplib.c
+	cat sip.h.in | sed -e s, at CFG_MODULE_NAME@,sip,g > sip.h
 }
 
 do_stage() {
 	install -d ${STAGING_LIBDIR_NATIVE}/${PYTHON_DIR}/site-packages/
 	# sipconfig.py sipdistutils.py
-	install -m 0644 sip.h ${STAGING_INCDIR}/sip.h
+	install -m 0644 ../siplib/sip.h ${STAGING_INCDIR}/sip.h
 }
 
 do_install() {





More information about the Openembedded-commits mailing list