}
do_stage() {
- install -d ${STAGING_SIPDIR}
+ install -d ${STAGING_SIPDIR}/qt/
for module in ${SIP_MODULES}
do
- cp -a ${S}/sip/${module}/*.sip ${STAGING_SIPDIR}/
+ cp -a ${S}/sip/${module}/*.sip ${STAGING_SIPDIR}/qt/
install -m 0755 ${module}/libcmodule.so ${STAGING_LIBDIR}/python2.3/site-packages/lib${module}cmodule.so
done
}
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- PyQwt-20040118/sip/qwtmod.sip~qtmod-sip-staging 2004-02-14 15:48:17.000000000 +0100
++++ PyQwt-20040118/sip/qwtmod.sip 2004-02-14 15:52:49.000000000 +0100
+@@ -34,7 +34,7 @@
+
+ %Include features.sip
+
+-%Import qt/qtmod.sip
++%Import qtmod.sip
+
+ %ModuleHeaderCode
+ #include <qwt_python.h>
DEPENDS = "virtual/libqte2 python-numeric python-pyqt qwt"
SRCNAME = "pyqwt"
-SRC_URI = "http://pyqwt.sourceforge.net/snapshot/PyQwt-20040118.tar.gz \
+SRC_URI = "http://www.vanille.de/mirror/PyQwt-20040118.tar.gz \
file://qt2.x-compat.patch;patch=1 \
file://qtmod-sip-staging.patch;patch=1 \
file://features"
echo 'HEADERS = $H' >>sip/qwtmod.sip
echo "%End" >>sip/qwtmod.sip
- mkdir sip/qwt/
+ mkdir -p sip/qwt/
mv sip/*.* sip/qwt/
}
do_stage() {
- install -d ${STAGING_SIPDIR}
+ install -d ${STAGING_SIPDIR}/qwt/
for module in ${SIP_MODULES}
do
- cp -a ${S}/sip/${module}/*.sip ${STAGING_SIPDIR}/
+ cp -a ${S}/sip/${module}/*.sip ${STAGING_SIPDIR}/qwt/
install -m 0755 ${module}/libcmodule.so ${STAGING_LIBDIR}/python2.3/site-packages/lib${module}cmodule.so
done
}