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
|
---|
4 | rm -rf install metis-4.0
|
---|
5 | mkdir 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
|
---|
11 | tar -zxvf metis-4.0.tar.gz
|
---|
12 |
|
---|
13 | #Move metis into install directory
|
---|
14 | mv metis-4.0/* install
|
---|
15 | rm -rf metis-4.0
|
---|
16 |
|
---|
17 | #Apply patches
|
---|
18 | cd install
|
---|
19 | patch -p1 < ../metis-4.0.patch
|
---|
20 | patch Makefile.in ../configs/4.0/macosx32/Makefile.in.patch
|
---|
21 |
|
---|
22 | #Compile
|
---|
23 | make
|
---|
Note:
See
TracBrowser
for help on using the repository browser.