view tool_dependencies.xml @ 1:931dda69e1b0 draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_cairo_1_14_2 commit 4fcd8718a42ceb285b7604003aab7fafe825bd75
author iuc
date Fri, 09 Oct 2015 08:22:26 -0400
parents 59eb331c1118
children 71eebf522000
line wrap: on
line source

<?xml version="1.0"?>
<tool_dependency>
    <package name="pixman" version="0.32.6">
        <repository changeset_revision="b67e27ea8bd3" name="package_pixman_0_32_6" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="libpng" version="1.6.7">
        <repository changeset_revision="05df724aefbb" name="package_libpng_1_6_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="freetype" version="2.5.2">
        <repository changeset_revision="ee307f3ce5dc" name="package_freetype_2_5_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="fontconfig" version="2.11.1">
        <repository changeset_revision="b20e4c53891e" name="package_fontconfig_2_11_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
    </package>
    <package name="cairo" version="1.14.2">
      <install version="1.0">
          <actions>
              <action type="download_by_url">http://share.gruenings.eu/cairo-1.14.2.tar.bz2</action>
                <action type="set_environment_for_install">
                    <repository changeset_revision="b67e27ea8bd3" name="package_pixman_0_32_6" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="pixman" version="0.32.6" />
                    </repository>
                    <repository changeset_revision="05df724aefbb" name="package_libpng_1_6_7" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="libpng" version="1.6.7" />
                    </repository>
                    <repository changeset_revision="ee307f3ce5dc" name="package_freetype_2_5_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="freetype" version="2.5.2" />
                    </repository>
                    <repository changeset_revision="b20e4c53891e" name="package_fontconfig_2_11_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu">
                        <package name="fontconfig" version="2.11.1" />
                    </repository>
                </action>
                <action type="shell_command">
                    export LDFLAGS="-Wl,-rpath,$PIXMAN_LIB_PATH -Wl,-rpath,$LIBPNG_ROOT/lib -Wl,-rpath,$FREETYPE_LIB_PATH" &amp;&amp; \ 
                    ./configure --prefix=$INSTALL_DIR \
                        --disable-dependency-tracking \
                        --with-x=no \
                        --enable-xcb-shm=no \
                        --enable-xlib-xcb=no \
                        --enable-xcb=no \
                        --enable-xlib-xrender=no \
                        --enable-ft=yes \
                        --enable-svg=yes \
                        --enable-tee=yes
                </action>
                <action type="make_install" />
                <!-- Create an empty cairo-xlib.h file, because R's configure script explicitly includes it even if X is disabled. -->
                <action type="shell_command">touch $INSTALL_DIR/include/cairo/cairo-xlib.h</action>
                <action type="set_environment">
                    <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                    <environment_variable action="prepend_to" name="CAIRO_LIB_PATH">$INSTALL_DIR/lib</environment_variable>
                    <environment_variable action="prepend_to" name="CAIRO_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
                    <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
                    <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
                </action>
            </actions>
        </install>
        <readme>
        </readme>
    </package>
</tool_dependency>