# Exit on error:
set -e

wget http://ftpmirror.gnu.org/wget/wget-1.14.tar.gz
tar xf wget-1.14.tar.gz
cd wget-1.14
sed -i.orig 's/item $thing/item C<$thing>/' doc/texi2pod.pl

./configure --prefix= \
    --with-ssl=openssl

make install
cd ..
rm -rf wget-1.14
rm wget-1.14.tar.gz

exit 0
