# Exit on error:
set -e

wget https://github.com/libgd/libgd/releases/download/gd-2.1.0/libgd-2.1.0.tar.bz2
tar xf libgd-2.1.0.tar.bz2
cd libgd-2.1.0
./configure --prefix=
make install
cd ..
rm -rf libgd-2.1.0
rm libgd-2.1.0.tar.bz2

exit 0
