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

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

tclx package

  • Property svn:executable set to *
File size: 668 bytes
RevLine 
[12712]1#!/bin/bash
2
3#Some cleanup
4rm -rf src
5rm -rf install
6rm -rf tclx8.4
7mkdir src install
8
9#Download from ISSM server
10$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/tclx8.4.tar.gz' 'tclx8.4.tar.gz'
11
12#Untar
13tar -zxvf tclx8.4.tar.gz
14
15#Move tclx into src directory
16mv tclx8.4/* src
17rm -rf tclx8.4
18
19#Configure tclx
20cd src
21./configure --prefix="$ISSM_DIR/externalpackages/tclx/install" \
22 --exec-prefix="$ISSM_DIR/externalpackages/tclx/install" \
23 --with-tcl=$ISSM_DIR/externalpackages/tcl/install/Library/Frameworks/Tcl.framework
24
25#Compile and install tclx
26if [ -z $1 ]; then
27 make
28else
29 make -j $1
30fi
31make install
Note: See TracBrowser for help on using the repository browser.