source: ThirdParty/Lapack/releases/1.0.5/get.Lapack @ 308

Last change on this file since 308 was 139, checked in by andreasw, 14 years ago

changed download directory back to LAPACK, since other packages rely on this name

  • Property svn:executable set to *
File size: 707 bytes
Line 
1#!/bin/sh
2
3wgetcount=`which wget 2>/dev/null | wc -w`
4if test ! $wgetcount = 1; then
5  echo "Utility wget not found in your PATH."
6  exit -1
7fi
8
9echo " "
10echo "Running script for downloading the source code for LAPACK"
11echo " "
12
13rm -f lapack.tgz
14echo "Downloading the source code from www.netlib.org..."
15wget ftp://www.netlib.org/lapack/lapack-lite-3.1.0.tgz
16
17echo "Uncompressing the tarball..."
18gunzip -f lapack-lite-3.1.0.tgz
19
20echo "Unpacking the source code..."
21tar xf lapack-lite-3.1.0.tar lapack-3.1.0/SRC lapack-3.1.0/INSTALL/dlamch.f
22rm -rf LAPACK
23mv lapack-3.1.0 LAPACK
24
25echo "Deleting the tar file..."
26rm lapack-lite-3.1.0.tar
27
28echo " "
29echo "Done downloading the source code for LAPACK."
30echo " "
Note: See TracBrowser for help on using the repository browser.