Mercurial > repos > iuc > package_libpng_1_2
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Thu Jun 05 19:23:32 2014 -0400 @@ -0,0 +1,20 @@ + <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 && 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>