source: issm/trunk-jpl/externalpackages/metis/install-4.0-macosx64.sh@ 12189

Last change on this file since 12189 was 12189, checked in by Mathieu Morlighem, 13 years ago

Deleted all externalpackage from trunk, use python script to download from issm website

  • Property svn:executable set to *
File size: 472 bytes
RevLine 
[11101]1#!/bin/bash
2
3#Some cleanup
4rm -rf install metis-4.0
5mkdir install
6
[12189]7#Download from ISSM server
8$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/metis-4.0.tar.gz' 'metis-4.0.tar.gz'
9
[11101]10#Untar
11tar -zxvf metis-4.0.tar.gz
12
13#Move metis into install directory
14mv metis-4.0/* install
15rm -rf metis-4.0
16
17#Apply patches
18cd install
19patch -p1 < ../metis-4.0.patch
20patch Makefile.in ../configs/4.0/macosx64/Makefile.in.patch
21
22#Compile
23make
Note: See TracBrowser for help on using the repository browser.