view tool_dependencies.xml @ 2:db14a391648d draft

Uploaded tool dependency recipe that sets PATH, so that dependent repositories can find libpng-config.
author devteam
date Mon, 17 Mar 2014 15:24:52 -0400
parents 7c4a9189b712
children f48b920cae1f
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
  <package name="libpng" version="1.6.7">
      <install version="1.0">
          <actions>
              <action type="download_by_url">http://downloads.sourceforge.net/project/libpng/libpng16/older-releases/1.6.7/libpng-1.6.7.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="PATH">$INSTALL_DIR/bin</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 />
    </package>
</tool_dependency>