Repository 'package_graphicsmagick_1_3'
hg clone https://testtoolshed.g2.bx.psu.edu/repos/iuc/package_graphicsmagick_1_3

Changeset 3:7887e4ac4c0d (2014-11-14)
Previous changeset 2:2fd4eb971ba5 (2013-09-12) Next changeset 4:bff3f66adff2 (2014-11-14)
Commit message:
Uploaded
modified:
tool_dependencies.xml
b
diff -r 2fd4eb971ba5 -r 7887e4ac4c0d tool_dependencies.xml
--- a/tool_dependencies.xml Thu Sep 12 07:05:21 2013 -0400
+++ b/tool_dependencies.xml Fri Nov 14 05:33:56 2014 -0500
b
@@ -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>