source: issm/trunk-jpl/externalpackages/triangle/install-linux64.sh@ 12818

Last change on this file since 12818 was 12818, checked in by Eric.Larour, 13 years ago

Reverting

  • Property svn:executable set to *
File size: 493 bytes
RevLine 
[11103]1#!/bin/bash
2
3#Some cleanup
4rm -rf install triangle
5mkdir install
6
[12189]7#Download from ISSM server
8$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/triangle.zip' 'triangle.zip'
9
[11103]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
[12818]20patch triangle.c ../triangle.c.patch
[11103]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.