# Exit on error:
set -e

wget http://downloads.sourceforge.net/project/gnuplot/gnuplot/4.6.4/gnuplot-4.6.4.tar.gz
tar xf gnuplot-4.6.4.tar.gz
cd gnuplot-4.6.4

./configure \
    --prefix=/usr

make
make install

cd ..
exit 0
