view tool_dependencies.xml @ 2:833849e0ddfc draft default tip

Uploaded tool dependency recipe that sets $PATH, so that dependent repositories will find bin/libpng-config.
author devteam
date Thu, 06 Mar 2014 07:54:50 -0500
parents a0b0e0281cc4
children
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="set_to" name="LIBPNG_ROOT">$INSTALL_DIR</environment_variable>
                  <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
                  <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                </action>
            </actions>
        </install>
        <readme />
    </package>
</tool_dependency>