|
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
|
|---|
| 4 | rm -rf install libtool[\w.- ]* src
|
|---|
| 5 | mkdir 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
|
|---|
| 11 | tar -zxvf libtool-2.4.2.tar.gz
|
|---|
| 12 | rm libtool-2.4.2.tar.gz
|
|---|
| 13 |
|
|---|
| 14 | #Move libtool into src directory
|
|---|
| 15 | mv libtool-2.4.2 src
|
|---|
| 16 |
|
|---|
| 17 | #Compile libtool
|
|---|
| 18 | cd src
|
|---|
| 19 | ./configure --prefix="$ISSM_DIR/externalpackages/libtool/install"
|
|---|
| 20 | make
|
|---|
| 21 | make install
|
|---|
| 22 |
|
|---|
| 23 | cd ../install/share/aclocal
|
|---|
| 24 | cp libtool.m4 $ISSM_DIR/m4/
|
|---|
| 25 | cp lt* $ISSM_DIR/m4/
|
|---|
| 26 | ls $ISSM_DIR/m4
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.