source: issm/trunk-jpl/externalpackages/libtool/install.sh@ 12881

Last change on this file since 12881 was 12881, checked in by glperez, 13 years ago

Modified DownloadExternalPackage.py to output usage examples when fed no arguments.

  • Property svn:executable set to *
File size: 461 bytes
RevLine 
[8971]1#!/bin/bash
2
3#Some cleanup
[12846]4rm -rf install libtool[\w.- ]* src
[8971]5mkdir install
6
[12189]7#Download from ISSM server
[12881]8$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/libtool' 'libtool.tar.gz'
[12189]9
[8971]10#Untar
[12846]11tar -zxvf libtool[\w.-]*.tar.gz
12rm libtool[\w.-]*.tar.gz
[8971]13
[12846]14
[8971]15#Move libtool into src directory
[12846]16mv libtool[\w.-]* src
[8971]17
18#Compile libtool
19cd src
[12156]20./configure --prefix="$ISSM_DIR/externalpackages/libtool/install"
[8971]21make
22make install
Note: See TracBrowser for help on using the repository browser.