source: issm/trunk-jpl/externalpackages/triangle/install-linux64.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: 493 bytes
Line 
1#!/bin/bash
2
3#Some cleanup
4rm -rf install triangle
5mkdir install
6
7#Download from ISSM server
8$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/triangle.zip' 'triangle.zip'
9
10#Untar
11cd install
12cp ../triangle.zip ./
13unzip triangle.zip
14
15#copy new makefile
16cp ../configs/linux64/configure.make ./
17cp ../makefile ./
18
19#Patch triangle.c
20patch triangle.c ../triangle.c.patch
21
22#Compile triangle
23make
24
25#Patch triangle.h
26patch triangle.h ../triangle.h.patch
Note: See TracBrowser for help on using the repository browser.