changeset 3:7887e4ac4c0d draft

Uploaded
author iuc
date Fri, 14 Nov 2014 05:33:56 -0500
parents 2fd4eb971ba5
children bff3f66adff2
files tool_dependencies.xml
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tool_dependencies.xml	Thu Sep 12 07:05:21 2013 -0400
+++ b/tool_dependencies.xml	Fri Nov 14 05:33:56 2014 -0500
@@ -7,6 +7,11 @@
                 <action type="shell_command">./configure --prefix=$INSTALL_DIR/gmagick/ --enable-shared=yes</action>
                 <action type="shell_command">make</action>
                 <action type="shell_command">make install</action>
+                <!-- drop-in replacement for imagemagick's convert -->
+                <action type="shell_command">echo -e '#!/usr/bin/env bash\ngm convert $@' > $INSTALL_DIR/gmagick/bin/convert</action>
+                <action type="chmod">
+                    <file mode="+x">$INSTALL_DIR/gmagick/bin/convert</file>
+                </action>
 
                 <action type="set_environment">
                     <environment_variable name="GRAPHICSMAGICK_ROOT_DIR" action="set_to">$INSTALL_DIR/gmagick</environment_variable>