summaryrefslogtreecommitdiff
path: root/strata/qt4-tools/qt4-tools.morph
blob: bc4cc17eb562cf1da83f8f5c9aff1729f7a522f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: qt4-tools
kind: chunk
max-jobs: 1
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
build-commands:
- make
- LD_LIBRARY_PATH="$PWD"/lib QT_PLUGIN_PATH="$PWD"/plugins make docs
install-commands:
- make install INSTALL_ROOT="$DESTDIR"