source: issm/oecreview/Archive/24307-24683/ISSM-24421-24422.diff

Last change on this file was 24684, checked in by Mathieu Morlighem, 5 years ago

CHG: added new review

File size: 916 bytes
RevLine 
[24684]1Index: ../trunk-jpl/externalpackages/zlib/install-1.2.sh
2===================================================================
3--- ../trunk-jpl/externalpackages/zlib/install-1.2.sh (revision 24421)
4+++ ../trunk-jpl/externalpackages/zlib/install-1.2.sh (nonexistent)
5@@ -1,38 +0,0 @@
6-#!/bin/bash
7-set -eu
8-
9-
10-# Constants
11-#
12-VER="1.2.11"
13-
14-# Download source
15-$ISSM_DIR/scripts/DownloadExternalPackage.sh "https://issm.ess.uci.edu/files/externalpackages/zlib-${VER}.tar.gz" "zlib-${VER}.tar.gz"
16-
17-# Unpack source
18-tar -zxvf zlib-$VER.tar.gz
19-
20-# Cleanup
21-rm -rf install src
22-mkdir install src
23-
24-# Move source to 'src' directory
25-mv zlib-$VER/* src/
26-rm -rf zlib-$VER
27-
28-# Configure
29-cd src
30-./configure \
31- --prefix="${ISSM_DIR}/externalpackages/zlib/install"
32-
33-# Compile and install
34-if [ $# -eq 0 ]; then
35- make
36- make install
37-else
38- make -j $1
39- make -j $1 install
40-fi
41-
42-# Return to initial directory
43-cd ..
Note: See TracBrowser for help on using the repository browser.