0
|
1 <tool_dependency>
|
|
2 <package name="graphicsmagick" version="1.3.18">
|
|
3 <install version="1.0">
|
|
4 <actions>
|
|
5 <action type="download_by_url">http://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.18/GraphicsMagick-1.3.18.tar.gz</action>
|
|
6
|
|
7 <action type="shell_command">./configure --prefix=$INSTALL_DIR/gmagick/ --enable-shared=yes</action>
|
|
8 <action type="shell_command">make</action>
|
|
9 <action type="shell_command">make install</action>
|
|
10
|
|
11 <action type="set_environment">
|
|
12 <environment_variable name="GRAPHICSMAGICK_ROOT_DIR" action="set_to">$INSTALL_DIR/gmagick</environment_variable>
|
|
13 <environment_variable name="PATH" action="append_to">$INSTALL_DIR/gmagick/bin</environment_variable>
|
|
14 </action>
|
|
15 </actions>
|
|
16 </install>
|
|
17 <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>
|
|
18 </package>
|
|
19 </tool_dependency>
|