view tool_dependencies.xml @ 5:9b0d84b880e4 draft default tip

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_graphicsmagick_1_3 commit 97a064489364118d108b0dd2cfb4d9bc53080837
author iuc
date Thu, 19 Nov 2015 13:27:13 -0500
parents bff3f66adff2
children
line wrap: on
line source

<tool_dependency>
    <package name="graphicsmagick" version="1.3.18">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.18/GraphicsMagick-1.3.18.tar.gz</action>
                <action type="autoconf">--prefix=$INSTALL_DIR/gmagick/ --enable-shared=yes</action>
                <!-- drop-in replacement for imagemagick's convert -->
                <action type="shell_command">echo -e '#!/usr/bin/env bash\ngm convert $@' > $INSTALL_DIR/gmagick/bin/convert</action>
                <action type="shell_command">chmod +x $INSTALL_DIR/gmagick/bin/convert</action>
                <action type="set_environment">
                    <environment_variable name="GRAPHICSMAGICK_ROOT_DIR" action="set_to">$INSTALL_DIR/gmagick</environment_variable>
                    <environment_variable name="PATH" action="append_to">$INSTALL_DIR/gmagick/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme>Compiling GraphicsMagick requires a C compiler (typically gcc). You can access the GraphicsMagick root directory (including lib/, include/ and bin/) through the $GRAPHICSMAGICK_ROOT_DIR system variable.</readme>
    </package>
</tool_dependency>