aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael 'Mickey' Lauer <mickey@vanille-media.de>2011-05-03 20:16:02 +0200
committerMichael 'Mickey' Lauer <mickey@vanille-media.de>2011-05-03 20:17:01 +0200
commit36b9a8ea02608a946b82075324e91206ace574cd (patch)
tree723c801454a496f88bd9b200be8a96b03e2eaced
parent3223f375c088d5b1bf6a1e29defb54d8631c6d92 (diff)
downloadopenembedded-36b9a8ea02608a946b82075324e91206ace574cd.tar.gz
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.
-rw-r--r--recipes/python/python-sip.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/recipes/python/python-sip.inc b/recipes/python/python-sip.inc
index 99af450e1b..04ef450acc 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,@CFG_MODULE_BASENAME@,sip, > siplib.pro
+ cat siplib.c.in | sed s,@CFG_MODULE_BASENAME@,sip, > siplib.c
+ cat sip.h.in | sed -e s,@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() {