summaryrefslogtreecommitdiff
path: root/packages/qt4/qt_packaging.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qt4/qt_packaging.inc')
-rw-r--r--packages/qt4/qt_packaging.inc12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/qt4/qt_packaging.inc b/packages/qt4/qt_packaging.inc
index 86ab0e784c..d19c6f8295 100644
--- a/packages/qt4/qt_packaging.inc
+++ b/packages/qt4/qt_packaging.inc
@@ -109,3 +109,15 @@ python populate_packages_prepend() {
translationdir = bb.data.expand('${datadir}/qtopia/translations/', d)
do_split_packages(d, translationdir, '^qt_(.*)\.qm$', 'qtopia-translation-%s', 'Qtopia translation for %s', extra_depends='' )
}
+
+
+do_install() {
+ oe_runmake install INSTALL_ROOT=${D}
+
+ # These are host binaries, we should only use them in staging
+ rm -rf ${D}/${bindir}
+ rm -rf ${D}/${datadir}/mkspecs
+
+ install -d ${D}/${libdir}/fonts
+ touch ${D}/${libdir}/fonts/fontdir
+}