changeset 2:37b9109e489c draft

planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/master/packages/package_fontconfig_2_11_1 commit bd736b6361ba659a1251dd1a1a05f7e3b633bdf5
author iuc
date Tue, 22 Dec 2015 19:05:10 -0500
parents 2ce32675340e
children 466900d2014a
files tool_dependencies.xml
diffstat 1 files changed, 37 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu Dec 03 07:04:36 2015 -0500
+++ b/tool_dependencies.xml	Tue Dec 22 19:05:10 2015 -0500
@@ -1,34 +1,57 @@
 <?xml version="1.0"?>
 <tool_dependency>
     <package name="freetype" version="2.5.2">
-      <repository changeset_revision="3b09e7916896" name="package_freetype_2_5_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+        <repository changeset_revision="3b09e7916896" name="package_freetype_2_5_2" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
     </package>
     <package name="libxml2" version="2.9.1">
-      <repository changeset_revision="e5475acebd6e" name="package_libxml2_2_9_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
+        <repository changeset_revision="e5475acebd6e" name="package_libxml2_2_9_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu" />
     </package>
     <package name="fontconfig" version="2.11.1">
         <install version="1.0">
-          <actions>
-              <action type="download_by_url">http://www.freedesktop.org/software/fontconfig/release/fontconfig-2.11.1.tar.gz</action>
-                <action type="set_environment_for_install">
-                    <repository changeset_revision="3b09e7916896" 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="e5475acebd6e" name="package_libxml2_2_9_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu">
-                        <package name="libxml2" version="2.9.1" />
-                    </repository>
+            <actions_group>
+                <actions architecture="x86_64" os="linux">
+                    <action sha256sum="b6b066c7dce3f436fdc0dfbae9d36122b38094f4f53bd8dffd45e195b0540d8d" type="download_by_url">https://depot.galaxyproject.org/software/fontconfig/fontconfig_2.11.1_src_all.tar.gz</action>
+                    <action type="set_environment_for_install">
+                        <repository changeset_revision="3b09e7916896" 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="e5475acebd6e" name="package_libxml2_2_9_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu">
+                            <package name="libxml2" version="2.9.1" />
+                        </repository>
                     </action>
-                        <action type="autoconf">--disable-docs --enable-libxml2</action>
-                        <action type="set_environment">
+                    <action type="autoconf">--disable-docs --enable-libxml2</action>
+                </actions>
+                <actions architecture="x86_64" os="darwin">
+                    <action sha256sum="b6b066c7dce3f436fdc0dfbae9d36122b38094f4f53bd8dffd45e195b0540d8d" type="download_by_url">https://depot.galaxyproject.org/software/fontconfig/fontconfig_2.11.1_src_all.tar.gz</action>
+                    <action type="set_environment_for_install">
+                        <repository changeset_revision="3b09e7916896" 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="e5475acebd6e" name="package_libxml2_2_9_1" owner="iuc" prior_installation_required="True" toolshed="https://toolshed.g2.bx.psu.edu">
+                            <package name="libxml2" version="2.9.1" />
+                        </repository>
+                    </action>
+                    <action type="shell_command">
+                        
+                            export FREETYPE_LIBS="-L$FREETYPE_LIB_PATH -lfreetype" &amp;&amp;
+                            export FREETYPE_CFLAGS="-I$FREETYPE_ROOT_DIR/include/freetype2" &amp;&amp;
+                            ./configure --prefix=$INSTALL_DIR --disable-docs &amp;&amp;
+                            make &amp;&amp;
+                            make install
+                        
+                    </action>
+                </actions>
+                <action type="set_environment">
                     <environment_variable action="set_to" name="FONTCONFIG_ROOT_PATH">$INSTALL_DIR</environment_variable>
                     <environment_variable action="prepend_to" name="PATH">$INSTALL_DIR/bin</environment_variable>
                     <environment_variable action="set_to" name="FONTCONFIG_FILE">$INSTALL_DIR/etc/fonts/fonts.conf</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>
+                    <environment_variable action="prepend_to" name="DYLD_LIBRARY_PATH">$INSTALL_DIR/lib/</environment_variable>
                     <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/include/</environment_variable>
                     <environment_variable action="prepend_to" name="CPP_INCLUDE_PATH">$INSTALL_DIR/include/</environment_variable>
                 </action>
-            </actions>
+            </actions_group>
         </install>
         <readme>
         </readme>