summaryrefslogtreecommitdiff
path: root/qt4-tools.morph
blob: 6e104d9f909bc04888b93469e09752862e142635 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
    "name": "qt4-tools",
    "kind": "chunk",
    "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"
    ]
}