Mercurial > repos > saketkc > package_pycurl_7_19_3_1
changeset 3:cf32ec1ccccd draft
Uploaded
author | saketkc |
---|---|
date | Sat, 07 Jun 2014 15:19:55 -0400 |
parents | b39fd549b590 |
children | cd979c60e4fb |
files | tool_dependencies.xml |
diffstat | 1 files changed, 15 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/tool_dependencies.xml Tue Apr 29 14:11:55 2014 -0400 +++ b/tool_dependencies.xml Sat Jun 07 15:19:55 2014 -0400 @@ -11,11 +11,25 @@ </readme> <install version="1.0"> <actions> + <action type="download_by_url">http://curl.haxx.se/download/curl-7.36.0.tar.gz</action> + <action type="shell_command">make</action> + <action type="move_directory_files"> + <source_directory>include</source_directory> + <destination_directory>$INSTALL_DIR</destination_directory> + </action> + <action type="set_environment"> + <environment_variable name="PATH" action="prepend_to">$INSTALL_DIR</environment_variable> + <environment_variable name="CURL" action="set_to">$INSTALL_DIR</environment_variable> + </action> + </actions> + + + <actions> <action type="download_by_url">https://pypi.python.org/packages/source/p/pycurl/pycurl-7.19.3.1.tar.gz</action> <action type="make_directory">$INSTALL_DIR/lib/python</action> <action type="shell_command"> export PYTHONPATH=$PYTHONPATH:$INSTALL_DIR/lib/python && - python setup.py build --with-ssl && + python setup.py build --with-ssl --curl-config=$CURL/curl-config && python setup.py install --install-lib $INSTALL_DIR/lib/python </action> <action type="set_environment">