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

Last change on this file since 23416 was 23416, checked in by jdquinn, 6 years ago

CHG: Updated all external package install scripts to include new URL

  • Property svn:executable set to *
File size: 650 bytes
Line 
1#!/bin/bash
2set -eu
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 'https://issm.ess.uci.edu/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" \
24 --with-tcl=$ISSM_DIR/externalpackages/tcl/install/lib
25
26#Compile and install tclx
27if [ $# -eq 0 ]; then
28 make
29else
30 make -j $1
31fi
32make install
Note: See TracBrowser for help on using the repository browser.