view tool_dependencies.xml @ 5:641d51248b4b draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_ghostscript_9_07 commit e10d6e2c4435771dc6f44d940359c1a31c0d6742-dirty
author iuc
date Fri, 17 Jul 2015 10:25:49 -0400
parents d6b4575b35a8
children
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="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="libxext-proto" version="7.2.1">
        <repository changeset_revision="8a06f4f65608" name="package_libxext_proto_7_2_1" owner="devteam" prior_installation_required="True" toolshed="https://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="https://toolshed.g2.bx.psu.edu">
                        <package name="libx11" version="1.5.0" />
                    </repository>
                    <repository changeset_revision="8a06f4f65608" name="package_libxext_proto_7_2_1" owner="devteam" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="libxext-proto" version="7.2.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>