view tool_dependencies.xml @ 1:7245d8573fca draft

Uploaded
author bgruening
date Sun, 01 Dec 2013 13:02:02 -0500
parents c842299349c0
children 6261034b0d94
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="libx11" version="1.5.0">
        <repository changeset_revision="11623237372f" name="package_x11_client_1_5_proto_7_0" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="xorg_macros" version="1.17.1">
        <repository changeset_revision="84a6fa565c7c" name="package_xorg_macros_1_17_1" owner="devteam" prior_installation_required="True" toolshed="http://testtoolshed.g2.bx.psu.edu" />
    </package>
    <package name="ghostscript" version="9.07">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://downloads.ghostscript.com/public/ghostscript-9.07.tar.gz</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="11623237372f" name="package_x11_client_1_5_proto_7_0" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="libx11" version="1.5.0" />
                    </repository>
                    <repository changeset_revision="84a6fa565c7c" name="package_xorg_macros_1_17_1" owner="devteam" toolshed="http://testtoolshed.g2.bx.psu.edu">
                        <package name="xorg_macros" version="1.17.1" />
                    </repository>
                </action>

                <action type="shell_command">
                    ./configure --x-includes=$X11_INCLUDE_DIR --x-libraries=$X11_LIB_DIR --prefix=$INSTALL_DIR
                </action>
                <action type="shell_command">make &amp;&amp; make install</action>

                <action type="set_environment">
                    <environment_variable action="append_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable action="set_to" name="GHOSTSCRIPT_SHARE">$INSTALL_DIR/share</environment_variable>
                    <environment_variable action="set_to" name="GHOSTSCRIPT_PATH">$INSTALL_DIR/share</environment_variable>
                </action>
            </actions>
        </install>
        <readme>Compiling ghostscript requires a C (typically gcc). GHOSTSCRIPT_SHARE will be exported. http://www.ghostscript.com/</readme>
    </package>
</tool_dependency>