0
|
1 <tool_dependency>
|
|
2 <package name="freetype" version="2.4.11">
|
|
3 <install version="1.0">
|
|
4 <actions>
|
|
5 <action type="download_by_url">http://downloads.sourceforge.net/project/freetype/freetype2/2.4.11/freetype-2.4.11.tar.bz2</action>
|
|
6 <action type="shell_command">./configure --prefix=$INSTALL_DIR/freetype/</action>
|
|
7 <action type="shell_command">make</action>
|
|
8 <action type="shell_command">make install</action>
|
|
9 <action type="set_environment">
|
|
10 <environment_variable name="PATH" action="append_to">$INSTALL_DIR/freetype/bin/</environment_variable>
|
|
11 <environment_variable name="FREETYPE_LIB_DIR" action="set_to">$INSTALL_DIR/freetype/lib/</environment_variable>
|
|
12 <environment_variable name="FREETYPE_INCLUDE_DIR" action="set_to">$INSTALL_DIR/freetype/include/</environment_variable>
|
|
13 </action>
|
|
14 </actions>
|
|
15 </install>
|
|
16 <readme>Compiling freetype requires a C compiler (typically gcc).</readme>
|
|
17 </package>
|
|
18 </tool_dependency>
|