Mercurial > repos > iuc > package_libgd_2_1
changeset 0:99a41bc40067 draft
Imported from capsule None
author | iuc |
---|---|
date | Sat, 01 Mar 2014 14:27:03 -0500 |
parents | |
children | e7d72500ef2b |
files | tool_dependencies.xml |
diffstat | 1 files changed, 42 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tool_dependencies.xml Sat Mar 01 14:27:03 2014 -0500 @@ -0,0 +1,42 @@ +<?xml version="1.0"?> +<tool_dependency> + <!-- TODO: Add more dependencies to support other image formats --> + <package name="libpng" version="1.6.7"> + <repository changeset_revision="7c4a9189b712" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="True" toolshed="http://toolshed.g2.bx.psu.edu" /> + </package> + <package name="libgd" version="2.1.0"> + <install version="1.0"> + <actions> + <action type="download_by_url">https://bitbucket.org/libgd/gd-libgd/downloads/libgd-2.1.0.tar.gz</action> + <action type="set_environment_for_install"> + <repository changeset_revision="7c4a9189b712" name="package_libpng_1_6_7" owner="devteam" prior_installation_required="False" toolshed="http://toolshed.g2.bx.psu.edu"> + <package name="libpng" version="1.6.7" /> + </repository> + </action> + <!-- action type="autoconf" can replace the following: + <action type="shell_command">./configure /-prefix=$INSTALL_DIR /-with-png=$LIBPNG_ROOT_DIR; make ; make install </action> + --> + <action type="autoconf">--with-png=$LIBPNG_ROOT_DIR</action> + <action type="set_environment"> + <environment_variable action="prepend_to" name="LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable> + <environment_variable action="prepend_to" name="LD_LIBRARY_PATH">$INSTALL_DIR/lib</environment_variable> + <environment_variable action="prepend_to" name="CPLUS_INCLUDE_PATH">$INSTALL_DIR/include</environment_variable> + <environment_variable action="set_to" name="LIBGD_ROOT_PATH">$INSTALL_DIR</environment_variable> + </action> + </actions> + </install> + <readme> + Installs and complils libdg. + GD is an open source code library for the dynamic creation of images by programmers. + GD is written in C, and "wrappers" are available for Perl, PHP and other languages. + GD creates PNG, JPEG, GIF, WebP, XPM, BMP images, among other formats. + GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. + While not restricted to use on the web, the most common applications of GD involve website development. + + http://libgd.bitbucket.org/ + + LIBRARY_PATH, LD_LIBRARY_PATH and CPLUS_INCLUDE_PATH will be set. + LIBGD_ROOT_PATH will point to the root path of the installation. + </readme> + </package> +</tool_dependency>