# Note: depends on zlib
wget -c http://www.boutell.com/gd/http/gd-2.0.33.tar.gz
tar -xzf gd-2.0.33.tar.gz
cd gd-2.0.33
mkdir -p build
cd build
../configure --prefix="/usr"
make # Doesn't mind -j#
make install