# Exit on error:
set -e

wget http://ftpmirror.gnu.org/gawk/gawk-4.1.0.tar.gz
tar xf gawk-4.1.0.tar.gz
cd gawk-4.1.0

./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib

make
make install

cd ..
exit 0
