source: ThirdParty/Metis/releases/1.0.2/get.Metis @ 2407

Last change on this file since 2407 was 1265, checked in by andreasw, 11 years ago

first version of Metis third-party project

  • Property svn:executable set to *
File size: 771 bytes
Line 
1#!/bin/sh
2
3set -e
4
5wgetcmd=wget
6wgetcount=`which wget 2>/dev/null | wc -w`
7if test ! $wgetcount = 1; then
8  echo "Utility wget not found in your PATH."
9  if test `uname` = Darwin; then
10    wgetcmd=ftp
11    echo "Using ftp command instead."
12  else
13    exit -1
14  fi
15fi
16
17echo " "
18echo "Running script for downloading the source code for the METIS"
19echo " "
20
21rm -f metis-4.0.tar.gz
22echo "Downloading the source code from glaros.dtc.umn.edu..."
23$wgetcmd http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/metis-4.0.tar.gz
24
25rm -rf metis-4.0
26
27echo "Uncompressing the tarball..."
28gunzip metis-4.0.tar.gz
29
30echo "Unpacking the source code..."
31tar xf metis-4.0.tar
32
33echo "Deleting the tar file..."
34rm metis-4.0.tar
35
36echo " "
37echo "Done downloading the source code for METIS."
38echo " "
39
Note: See TracBrowser for help on using the repository browser.