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