0
|
1 <tool_dependency>
|
|
2 <package name="libpng" version="1.2.5">
|
|
3 <install version="1.0">
|
|
4 <actions>
|
|
5 <action type="download_by_url">http://download.sourceforge.net/libpng/libpng-1.2.51.tar.gz</action>
|
|
6 <action type="shell_command">./configure --prefix=$INSTALL_DIR</action>
|
|
7 <action type="shell_command">make && make install</action>
|
|
8
|
|
9 <action type="set_environment">
|
|
10 <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
|
|
11 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
|
|
12 <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
|
|
13 <environment_variable action="set_to" name="LIBPNG_ROOT">$INSTALL_DIR</environment_variable>
|
|
14 <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
|
|
15 </action>
|
|
16 </actions>
|
|
17 </install>
|
|
18 <readme>Provides the 1.2.x branch of libpng for compatibility with older software. Compiling libpng requires make and a C compiler. http://www.libpng.org/pub/png/libpng.html</readme>
|
|
19 </package>
|
|
20 </tool_dependency>
|