source: issm/trunk/externalpackages/chaco/install.sh@ 3072

Last change on this file since 3072 was 3072, checked in by jschierm, 15 years ago

Chaco: populate install directory.

  • Property svn:executable set to *
File size: 650 bytes
Line 
1#!/bin/bash
2
3# Some cleanup
4rm -rf Chaco-2.2
5rm -rf src
6rm -rf install
7
8# Create src and install directories
9mkdir src install
10
11# Untar
12tar -xvzf Chaco-2.2.tar.gz
13
14# Move chaco to src directory
15mv Chaco-2.2/* src
16rm -rf Chaco-2.2
17
18# Apply patches (all at once)
19# (written by diff -rc src ~/Libs/Chaco-2.2 > chaco.patch)
20patch -p0 < chaco.patch
21
22# Build chaco
23cd src/code
24make
25# Clean up, so that meshpart creates its own objects for mlchaco
26make clean
27cd ../..
28
29# Populate install directory
30cp -p src/exec/README install
31cp -p src/exec/User_Params install
32cp -p src/exec/*.coords install
33cp -p src/exec/*.graph install
34mv src/exec/chaco install
35
Note: See TracBrowser for help on using the repository browser.