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
RevLine 
[2973]1#!/bin/bash
2
[3011]3# Some cleanup
[2973]4rm -rf Chaco-2.2
5rm -rf src
6rm -rf install
7
[3011]8# Create src and install directories
[2973]9mkdir src install
10
[3011]11# Untar
[2973]12tar -xvzf Chaco-2.2.tar.gz
13
[3011]14# Move chaco to src directory
[2973]15mv Chaco-2.2/* src
16rm -rf Chaco-2.2
17
[3011]18# Apply patches (all at once)
19# (written by diff -rc src ~/Libs/Chaco-2.2 > chaco.patch)
20patch -p0 < chaco.patch
[2973]21
[3011]22# Build chaco
[2973]23cd src/code
24make
[3011]25# Clean up, so that meshpart creates its own objects for mlchaco
[2973]26make clean
27cd ../..
28
[3072]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.