Repository 'package_cairo_1_12_14'
hg clone https://toolshed.g2.bx.psu.edu/repos/devteam/package_cairo_1_12_14

Changeset 0:7f467a4010e0 (2014-03-07)
Next changeset 1:b39299b4b6e1 (2014-04-01)
Commit message:
Imported from capsule None
added:
tool_dependencies.xml
b
diff -r 000000000000 -r 7f467a4010e0 tool_dependencies.xml
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/tool_dependencies.xml Fri Mar 07 11:04:43 2014 -0500
b
@@ -0,0 +1,49 @@
+<?xml version="1.0"?>
+<tool_dependency>
+  <package name="pixman" version="0.32.4">
+      <repository changeset_revision="3d44a209a6b9" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="libpng" version="1.6.7">
+      <repository changeset_revision="7c4a9189b712" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="freetype" version="2.5.2">
+      <repository changeset_revision="92d1906a12e4" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" />
+    </package>
+    <package name="cairo" version="1.12.14">
+      <install version="1.0">
+          <actions>
+              <action type="download_by_url">http://depot.galaxyproject.org/package/source/cairo/cairo-1.12.14.tar.bz2</action>
+                <action type="set_environment_for_install">
+                  <repository changeset_revision="3d44a209a6b9" name="package_pixman_0_32_4" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                      <package name="pixman" version="0.32.4" />
+                    </repository>
+                    <repository changeset_revision="7c4a9189b712" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                      <package name="libpng" version="1.6.7" />
+                    </repository>
+                    <repository changeset_revision="92d1906a12e4" name="package_freetype_2_5_2" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu">
+                      <package name="freetype" version="2.5.2" />
+                    </repository>
+                </action>
+                <action type="shell_command">
+                    export LDFLAGS="-Wl,-rpath,$PIXMAN_LIB_PATH -Wl,-rpath,$PNG_LIB_PATH -Wl,-rpath,$FREETYPE_LIB_PATH" &amp;&amp; \ 
+                    ./configure --prefix=$INSTALL_DIR \
+                        --with-x=no \
+                        --enable-xcb-shm=no \
+                        --enable-xlib-xcb=no \
+                        --enable-xcb=no \
+                        --enable-xlib-xrender=no
+                </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="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
+                </action>
+            </actions>
+        </install>
+        <readme>
+        </readme>
+    </package>
+</tool_dependency>