summaryrefslogtreecommitdiff
path: root/strata/qt4-tools/qt4-tools.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/qt4-tools/qt4-tools.morph')
-rw-r--r--strata/qt4-tools/qt4-tools.morph32
1 files changed, 32 insertions, 0 deletions
diff --git a/strata/qt4-tools/qt4-tools.morph b/strata/qt4-tools/qt4-tools.morph
new file mode 100644
index 00000000..e5991a79
--- /dev/null
+++ b/strata/qt4-tools/qt4-tools.morph
@@ -0,0 +1,32 @@
+name: qt4-tools
+kind: chunk
+description: ''
+max-jobs: 1
+products: []
+build-system: manual
+pre-configure-commands: []
+configure-commands:
+- |
+ arch=$(uname -m)
+ if [ "${arch}" != "${arch//arm/}" ] ; then
+ sed 's/g++-unix.conf)/&\nQMAKE_CXXFLAGS += -fno-strict-volatile-bitfields/' \
+ -i mkspecs/linux-g++/qmake.conf
+ else
+ echo Running on x86, not modifying qmake.conf
+ fi
+- ./configure -v -prefix /usr -opensource -confirm-license
+post-configure-commands: []
+pre-build-commands: []
+build-commands:
+- make
+- LD_LIBRARY_PATH="$PWD"/lib QT_PLUGIN_PATH="$PWD"/plugins make docs
+post-build-commands: []
+pre-install-commands: []
+install-commands:
+- make install INSTALL_ROOT="$DESTDIR"
+post-install-commands: []
+devices: []
+post-test-commands: []
+pre-test-commands: []
+system-integration: []
+test-commands: []