source: issm/trunk-jpl/externalpackages/libtool/install.sh@ 13082

Last change on this file since 13082 was 13082, checked in by glperez, 13 years ago

CHG: In order to prevent issues with 'm4' macros, 'libtool.m4' and 'lt*.m4' have been removed from SVN control and the Libtool install script now copies the m4 files into the m4 directory.

  • Property svn:executable set to *
File size: 570 bytes
Line 
1#!/bin/bash
2
3#Some cleanup
4rm -rf install libtool[\w.- ]* src
5mkdir install
6
7#Download from ISSM server
8$ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/libtool-2.4.2.tar.gz' 'libtool-2.4.2.tar.gz'
9
10#Untar
11tar -zxvf libtool-2.4.2.tar.gz
12rm libtool-2.4.2.tar.gz
13
14#Move libtool into src directory
15mv libtool-2.4.2 src
16
17#Compile libtool
18cd src
19./configure --prefix="$ISSM_DIR/externalpackages/libtool/install"
20make
21make install
22
23cd ../install/share/aclocal
24cp libtool.m4 $ISSM_DIR/m4/
25cp lt* $ISSM_DIR/m4/
26ls $ISSM_DIR/m4
Note: See TracBrowser for help on using the repository browser.