view tool_dependencies.xml @ 3:ad926bdff38d draft default tip

Uploaded
author iuc
date Mon, 27 Oct 2014 05:47:23 -0400
parents 869850cd39db
children
line wrap: on
line source

<tool_dependency>
    <package name="Qt" version="4.8">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://download.qt-project.org/official_releases/qt/4.8/4.8.6/qt-everywhere-opensource-src-4.8.6.tar.gz</action>
                <action type="shell_command">./configure -prefix $INSTALL_DIR -opensource -confirm-license -no-xinerama -no-xinput -no-xcursor -no-xvideo -no-opengl -no-sm -no-xkb -no-gui -no-cups -no-openvg -no-xrandr -no-xrender -nomake examples -nomake demos</action>
                <action type="shell_command">./bin/qmake -r QT_BUILD_PARTS="libs tools"</action>
                <action type="make_install" />
                <action type="set_environment">
                    <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable name="QT_ROOT_DIR" action="set_to">$INSTALL_DIR</environment_variable>
                    <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/lib/</environment_variable>
                    <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/include</environment_variable>
                    <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/include</environment_variable>
                    <environment_variable name="PKG_CONFIG_PATH" action="prepend_to">$INSTALL_DIR/lib/pkgconfig</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
            Installing Qt libraries. A C++ compiler, usually g++, is requiered.
            http://qt-project.org/
        </readme>
    </package>
</tool_dependency>