Last change
on this file since 13249 was 13249, checked in by seroussi, 12 years ago |
BUG: fixed installation scripts when checking for number of inputs
|
-
Property svn:executable
set to
*
|
File size:
679 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | set -eu
|
---|
3 |
|
---|
4 | #Some cleanup
|
---|
5 | rm -rf src
|
---|
6 | rm -rf install
|
---|
7 | rm -rf tclx8.4
|
---|
8 | mkdir src install
|
---|
9 |
|
---|
10 | #Download from ISSM server
|
---|
11 | $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/tclx8.4.tar.gz' 'tclx8.4.tar.gz'
|
---|
12 |
|
---|
13 | #Untar
|
---|
14 | tar -zxvf tclx8.4.tar.gz
|
---|
15 |
|
---|
16 | #Move tclx into src directory
|
---|
17 | mv tclx8.4/* src
|
---|
18 | rm -rf tclx8.4
|
---|
19 |
|
---|
20 | #Configure tclx
|
---|
21 | cd src
|
---|
22 | ./configure --prefix="$ISSM_DIR/externalpackages/tclx/install" \
|
---|
23 | --exec-prefix="$ISSM_DIR/externalpackages/tclx/install" \
|
---|
24 | --with-tcl=$ISSM_DIR/externalpackages/tcl/install/Library/Frameworks/Tcl.framework
|
---|
25 |
|
---|
26 | #Compile and install tclx
|
---|
27 | if [ $# -eq 0 ]; then
|
---|
28 | make
|
---|
29 | else
|
---|
30 | make -j $1
|
---|
31 | fi
|
---|
32 | make install
|
---|
Note:
See
TracBrowser
for help on using the repository browser.