-
-
Save rolfbjarne/3a979187ddd0855da073 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -ex | |
MODS="m4-1.4.16 autoconf-2.69 automake-1.12.2 libtool-2.4.2" | |
PREFIX=/opt | |
PATH=$PATH:$PREFIX/bin | |
# first get wget | |
curl -O http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz | |
tar -xzf wget-1.14.tar.gz | |
cd wget-1.14 | |
./configure --with-ssl=openssl --prefix=$PREFIX | |
make | |
make install | |
cd .. | |
# and now the rest | |
for m in $MODS; do | |
rm -Rf $m | |
wget http://ftp.gnu.org/gnu/`echo $m | sed 's/-.*//'`/$m.tar.gz | |
tar zxvf $m.tar.gz | |
cd $m | |
./configure --prefix=$PREFIX | |
make | |
make install | |
cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that you need to put /opt/bin in your path (or edit the PREFIX above).