view tool_dependencies.xml @ 0:78a1335cf62d draft

Uploaded
author iuc
date Sun, 08 Dec 2013 18:45:23 -0500
parents
children c1a807d91902
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="xorg_macros" version="1.17.1">
        <repository changeset_revision="680d13c3921a" name="package_xorg_macros_1_17_1" owner="iuc" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="libx11" version="1.5.0">
        <repository changeset_revision="164be8f52ca2" name="package_x11_client_1_5_proto_7_0" owner="iuc" 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="680d13c3921a" name="package_xorg_macros_1_17_1" owner="iuc" toolshed="http://toolshed.g2.bx.psu.edu">
                        <package name="xorg_macros" version="1.17.1" />
                    </repository>
                    <repository changeset_revision="164be8f52ca2" name="package_x11_client_1_5_proto_7_0" owner="iuc" 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>