source: issm/oecreview/Archive/14312-15392/ISSM-15367-15368.diff

Last change on this file was 15393, checked in by Mathieu Morlighem, 12 years ago

NEW: adding Archive/14312-15392 for oecreview

File size: 1.1 KB
RevLine 
[15393]1Index: ../trunk-jpl/externalpackages/gdal/install-1.6-linux64-astrid.sh
2===================================================================
3--- ../trunk-jpl/externalpackages/gdal/install-1.6-linux64-astrid.sh (revision 15367)
4+++ ../trunk-jpl/externalpackages/gdal/install-1.6-linux64-astrid.sh (revision 15368)
5@@ -1,41 +0,0 @@
6-#!/bin/bash
7-set -eu
8-
9-#Some cleanup
10-rm -rf src
11-rm -rf install
12-rm -rf gdal-1.6.0
13-mkdir src install
14-
15-#Download from ISSM server
16-$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/gdal-1.6.0.tar.gz' 'gdal-1.6.0.tar.gz'
17-
18-#Untar
19-tar -zxvf gdal-1.6.0.tar.gz
20-
21-#Move gdal into src directory
22-mv gdal-1.6.0/* src
23-rm -rf gdal-1.6.0
24-
25-#Configure gdal
26-cd src
27-./configure \
28- --prefix="$ISSM_DIR/externalpackages/gdal/install" \
29- --without-python \
30- --without-png \
31- --with-netcdf=no \
32- --with-jasper=no \
33- --without-ld-shared \
34- --with-unix-stdio-64=no \
35- --with-expat-lib=/usr/lib64/libexpat.so
36-
37-#Patch GDALmake.opt
38-patch GDALmake.opt ../configs/GDALmake.opt.patch.astrid
39-
40-#Compile and install gdal
41-if [ $# -eq 0 ]; then
42- make
43-else
44- make -j $1
45-fi
46-make install
Note: See TracBrowser for help on using the repository browser.