source: issm/trunk-jpl/externalpackages/autoconf/install.sh@ 10937

Last change on this file since 10937 was 10862, checked in by Mathieu Morlighem, 13 years ago

Fixed prefix

  • Property svn:executable set to *
File size: 434 bytes
Line 
1#!/bin/bash
2
3#version of autoconf
4version=`echo *.tar.gz | sed 's/\.tar\.gz//g' | sed 's/autoconf-//g'`
5echo $version
6
7#Some cleanup
8rm -rf install autoconf-$version src
9
10#Create install directories
11mkdir install
12
13#Untar
14tar -zxvf autoconf-$version.tar.gz
15
16#Move autoconf into src directory
17mv autoconf-$version src
18
19#Compile autoconf
20cd src
21./configure --prefix="$ISSM_TIER/externalpackages/autoconf/install"
22make
23make install
Note: See TracBrowser for help on using the repository browser.