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>
|
1
|
13 <environment_variable name="LD_LIBRARY_PATH" action="prepend_to">$INSTALL_DIR/freetype/lib</environment_variable>
|
|
14 <environment_variable name="C_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/freetype/include</environment_variable>
|
|
15 <environment_variable name="CPLUS_INCLUDE_PATH" action="prepend_to">$INSTALL_DIR/freetype/include</environment_variable>
|
2
|
16 <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/freetype/lib/pkgconfig</environment_variable>
|
|
17 <environment_variable action="set_to" name="FREETYPE_LIB_PATH">$INSTALL_DIR/freetype/lib</environment_variable>
|
0
|
18 </action>
|
|
19 </actions>
|
|
20 </install>
|
|
21 <readme>Compiling freetype requires a C compiler (typically gcc).</readme>
|
|
22 </package>
|
|
23 </tool_dependency>
|