summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2004-03-13 19:52:51 +0000
committerMichael Lauer <mickey@vanille-media.de>2004-03-13 19:52:51 +0000
commitdc319dc4349825c469e007ccde49415d14385ce6 (patch)
tree904022730b29e368195156da82523d88c4b99b11 /python
parenta94b5c10925ff8a3924a9db8b32306bc37004e03 (diff)
Merge bk://openembedded@openembedded.bkbits.net/packages
into r2d2.tm.informatik.uni-frankfurt.de:/home/projekte/packages 2004/03/13 20:52:46+01:00 uni-frankfurt.de!mickey create do_install() for pyqt and pyqwt BKrev: 40536693ocv3G9V03-XzgotrgGuSHg
Diffstat (limited to 'python')
-rw-r--r--python/python-pyqt_3.11.oe13
-rw-r--r--python/python-pyqwt_3.10.oe12
2 files changed, 25 insertions, 0 deletions
diff --git a/python/python-pyqt_3.11.oe b/python/python-pyqt_3.11.oe
index 90af05f004..0b5a0a2a8f 100644
--- a/python/python-pyqt_3.11.oe
+++ b/python/python-pyqt_3.11.oe
@@ -62,3 +62,16 @@ do_stage() {
cp -a ${S}/sip/${module}/*.sip ${STAGING_SIPDIR}/
done
}
+
+do_install() {
+ install -d ${D}/${libdir}/python2.3/site-packages/
+ oe_soinstall ${STAGING_LIBDIR}/python2.3/site-packages/libsip.so.11.0.1 ${D}/${libdir}/python2.3/site-packages/
+ for module in ${MODULES}
+ do
+ oe_soinstall ${STAGING_LIBDIR}/python2.3/site-packages/lib${module}cmodule.so.1.0.0 ${D}/${libdir}/python2.3/site-packages/
+ install -m 0644 ${module}/${module}.py ${D}/${libdir}/python2.3/site-packages/
+ done
+}
+
+FILES_${PN}=
+FILES_${PN}=/usr/lib/python2.3/site-packages
diff --git a/python/python-pyqwt_3.10.oe b/python/python-pyqwt_3.10.oe
index 89219b1f04..c1d917a379 100644
--- a/python/python-pyqwt_3.10.oe
+++ b/python/python-pyqwt_3.10.oe
@@ -75,3 +75,15 @@ do_compile() {
done
}
+do_install() {
+ install -d ${D}/${libdir}/python2.3/site-packages/qwt
+ install -m 0644 ${S}/qwt/*.py ${D}/${libdir}/python2.3/site-packages/qwt/
+ for module in ${MODULES}
+ do
+ oe_soinstall ${STAGING_LIBDIR}/python2.3/site-packages/lib${module}cmodule.so.1.0.0 ${D}/${libdir}/python2.3/site-packages/
+ done
+}
+
+FILES_${PN}=
+FILES_${PN}=/usr/lib/python2.3/site-packages
+