source: issm/branches/trunk-jpl-damage/externalpackages/metis/install-4.0-macosx32.sh@ 12258

Last change on this file since 12258 was 12258, checked in by cborstad, 13 years ago

merged trunk-jpl into branches/trunk-jpl-damage through revision 12254

  • Property svn:executable set to *
File size: 472 bytes
Line 
1#!/bin/bash
2
3#Some cleanup
4rm -rf install metis-4.0
5mkdir install
6
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
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/macosx32/Makefile.in.patch
21
22#Compile
23make
Note: See TracBrowser for help on using the repository browser.