view tool_dependencies.xml @ 1:d87c457bbbc2 draft

Uploaded
author iuc
date Thu, 28 Aug 2014 04:26:40 -0400
parents 22e4c41d585b
children f2855f4cbc8f
line wrap: on
line source

<tool_dependency>
    <package name="graphicsmagick" version="1.3.20">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.20/GraphicsMagick-1.3.20.tar.gz/download</action>
                <action type="shell_command">mkdir $INSTALL_DIR/gm</action>
                <action type="shell_command">./configure --prefix=$INSTALL_DIR/gm --enable-shared=yes</action>
                <action type="shell_command">make</action>
                <action type="shell_command">make install</action>

                <action type="set_environment">
                    <environment_variable name="GRAPHICSMAGICK_ROOT_DIR" action="set_to">$INSTALL_DIR/gm</environment_variable>
                    <environment_variable name="PATH" action="append_to">$INSTALL_DIR/gm/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>