view tool_dependencies.xml @ 4:d6b4575b35a8 draft

Uploaded
author iuc
date Sun, 02 Mar 2014 03:26:54 -0500
parents f0cedc388ac2
children 641d51248b4b
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="libx11" version="1.5.0">
        <repository changeset_revision="2ecb3f1f8fbb" name="package_libx11_1_5_0" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.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="2ecb3f1f8fbb" name="package_libx11_1_5_0" owner="devteam" toolshed="http://toolshed.g2.bx.psu.edu">
                        <package name="libx11" version="1.5.0" />
                    </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>