0
+ − 1 <tool_dependency>
+ − 2 <package name="graphicsmagick" version="1.3.20">
+ − 3 <install version="1.0">
+ − 4 <actions>
+ − 5 <action type="download_by_url">http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.20/GraphicsMagick-1.3.20.tar.gz/download</action>
+ − 6 <action type="shell_command">./configure --prefix=$INSTALL_DIR --enable-shared=yes</action>
+ − 7 <action type="shell_command">make</action>
+ − 8 <action type="shell_command">make install</action>
+ − 9
+ − 10 <action type="set_environment">
+ − 11 <environment_variable name="GRAPHICSMAGICK_ROOT_DIR" action="set_to">$INSTALL_DIR</environment_variable>
+ − 12 <environment_variable name="PATH" action="append_to">$INSTALL_DIR/bin</environment_variable>
+ − 13 </action>
+ − 14 </actions>
+ − 15 </install>
+ − 16 <readme>Compiling GraphicsMagick requires a C compiler (typically gcc). You can access the GraphicsMagick root directory (including lib/, include/ and bin/) through the $GRAPHICSMAGICK_ROOT_DIR system variable.</readme>
+ − 17 </package>
+ − 18 </tool_dependency>