diff tool_dependencies.xml @ 1:d7f6d1ad51e2 draft

Uploaded
author iuc
date Sun, 02 Mar 2014 21:49:54 -0500
parents a80a3062f066
children 821c27341c0e
line wrap: on
line diff
--- a/tool_dependencies.xml	Wed Nov 06 00:38:03 2013 -0500
+++ b/tool_dependencies.xml	Sun Mar 02 21:49:54 2014 -0500
@@ -2,18 +2,16 @@
     <package name="libpng" version="1.2.5">
         <install version="1.0">
             <actions>
-                <action type="download_by_url">ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng12/libpng-1.2.50.tar.gz</action>
-                <action type="autoconf" />
+                <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 name="PATH" action="prepend_to">$INSTALL_DIR/bin</environment_variable>
-                    <environment_variable name="LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable>
-                    <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/lib</environment_variable>
-                    <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/include</environment_variable>
-                    <environment_variable name="LIBPNG_ROOT_DIR" action="set_to">$INSTALL_DIR</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>Compiling libpng requires make and a C compiler. You can access libpng with $LIBPNG_ROOT_DIR. http://www.libpng.org/pub/png/libpng.html</readme>
+        <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>