source: issm/trunk-jpl/externalpackages/metis/install-4.0-win7.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: 525 bytes
RevLine 
[11385]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
[11385]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
[11397]20patch -R Lib/Makefile ../configs/4.0/win7/Makefile.patch
[11824]21patch Makefile.in ../configs/4.0/win7/Makefile.in.patch
[11385]22
23#Compile
24make
Note: See TracBrowser for help on using the repository browser.