Mercurial > repos > iuc > package_graphicsmagick_1_3
diff tool_dependencies.xml @ 0:4ce7b22bf603 draft
initial upload
author | iuc |
---|---|
date | Sun, 11 Aug 2013 06:36:37 -0400 |
parents | |
children | ef238a8bdc1d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Sun Aug 11 06:36:37 2013 -0400 @@ -0,0 +1,19 @@ +<tool_dependency> + <package name="graphicsmagick" version="1.3.18"> + <install version="1.0"> + <actions> + <action type="download_by_url">http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.18/GraphicsMagick-1.3.18.tar.gz</action> + + <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> + + <action type="set_environment"> + <environment_variable name="GRAPHICSMAGICK_ROOT_DIR" action="set_to">$INSTALL_DIR/gmagick</environment_variable> + <environment_variable name="PATH" action="append_to">$INSTALL_DIR/gmagick/bin</environment_variable> + </action> + </actions> + </install> + <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> + </package> +</tool_dependency>