source: issm/trunk-jpl/externalpackages/tclx/install.sh@ 21616

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

CHG: some minor changes to path.

  • Property svn:executable set to *
File size: 650 bytes
RevLine 
[12712]1#!/bin/bash
[13246]2set -eu
[12712]3
4#Some cleanup
5rm -rf src
6rm -rf install
7rm -rf tclx8.4
8mkdir 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
14tar -zxvf tclx8.4.tar.gz
15
16#Move tclx into src directory
17mv tclx8.4/* src
18rm -rf tclx8.4
19
20#Configure tclx
21cd src
22./configure --prefix="$ISSM_DIR/externalpackages/tclx/install" \
23 --exec-prefix="$ISSM_DIR/externalpackages/tclx/install" \
[21616]24 --with-tcl=$ISSM_DIR/externalpackages/tcl/install/lib
[12712]25
26#Compile and install tclx
[13249]27if [ $# -eq 0 ]; then
[12712]28 make
29else
30 make -j $1
31fi
32make install
Note: See TracBrowser for help on using the repository browser.