|
3
|
1 <?xml version="1.0"?>
|
|
0
|
2 <tool_dependency>
|
|
3
|
3 <!-- TODO: Add more dependencies to support other image formats -->
|
|
5
|
4 <package name="libpng" version="1.6.7">
|
|
6
|
5 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="https://testtoolshed.g2.bx.psu.edu" />
|
|
3
|
6 </package>
|
|
0
|
7 <package name="libgd" version="2.1.0">
|
|
|
8 <install version="1.0">
|
|
|
9 <actions>
|
|
|
10 <action type="download_by_url">https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz</action>
|
|
3
|
11
|
|
|
12 <action type="set_environment_for_install">
|
|
6
|
13 <repository changeset_revision="833849e0ddfc" name="package_libpng_1_6_7" owner="devteam" toolshed="https://testtoolshed.g2.bx.psu.edu">
|
|
5
|
14 <package name="libpng" version="1.6.7" />
|
|
3
|
15 </repository>
|
|
|
16 </action>
|
|
|
17
|
|
4
|
18 <action type="autoconf">--with-png=$LIBPNG_ROOT_DIR</action>
|
|
|
19
|
|
0
|
20 <action type="set_environment">
|
|
3
|
21 <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
|
|
|
22 <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable>
|
|
|
23 <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
|
|
6
|
24 <environment_variable action="prepend_to" name="C_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable>
|
|
3
|
25 <environment_variable action="set_to" name="LIBGD_ROOT_PATH">$INSTALL_DIR</environment_variable>
|
|
7
|
26 <environment_variable action="prepend_to" name="PKG_CONFIG_PATH">$INSTALL_DIR/lib/pkgconfig</environment_variable>
|
|
0
|
27 </action>
|
|
|
28 </actions>
|
|
|
29 </install>
|
|
|
30 <readme>
|
|
|
31 Installs and complils libdg.
|
|
8
|
32 GD is an open source code library for the dynamic creation of images by programmers.
|
|
|
33 GD is written in C, and "wrappers" are available for Perl, PHP and other languages.
|
|
|
34 GD creates PNG, JPEG, GIF, WebP, XPM, BMP images, among other formats.
|
|
|
35 GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly.
|
|
0
|
36 While not restricted to use on the web, the most common applications of GD involve website development.
|
|
8
|
37
|
|
0
|
38 http://libgd.bitbucket.org/
|
|
8
|
39
|
|
0
|
40 LIBRARY_PATH, LD_LIBRARY_PATH and CPLUS_INCLUDE_PATH will be set.
|
|
|
41 LIBGD_ROOT_PATH will point to the root path of the installation.
|
|
|
42 </readme>
|
|
|
43 </package>
|
|
|
44 </tool_dependency>
|