view tool_dependencies.xml @ 0:e0719be25969 draft default tip

Uploaded
author iuc
date Thu, 05 Jun 2014 19:23:32 -0400
parents
children
line wrap: on
line source

 <tool_dependency>
    <package name="libpng" version="1.2.5">
        <install version="1.0">
            <actions>
                <action type="download_by_url">http://download.sourceforge.net/libpng/libpng-1.2.51.tar.gz</action>
                <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
                <action type="shell_command">make &amp;&amp; make install</action>

                <action type="set_environment">
                    <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
                    <environment_variable action="set_to" name="LIBPNG_ROOT">$INSTALL_DIR</environment_variable>
                    <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
                </action>
            </actions>
        </install>
        <readme>Provides the 1.2.x branch of libpng for compatibility with older software. Compiling libpng requires make and a C compiler. http://www.libpng.org/pub/png/libpng.html</readme>
    </package>
</tool_dependency>