### this is not a script but an step-by-step howto exit 1 ### base 1.1.3 ### download wget wget http://ftp.gnu.org/gnu/wget/wget-1.9.1.tar.gz ### extract tar xzf wget-1.9.1.tar.gz cd wget-1.9.1 ### build ./configure --prefix=/usr --sysconfdir=/etc make ### install make DESTDIR=/tmp/wget install cd /tmp/wget/usr strip -R .note -R .comment bin/* rm -r info/ cd share/locale rm -r bg/ ca/ cs/ da/ el/ es/ et/ gl/ he/ hr/ hu/ it/ ja/ nl/ no/ pl/ pt_BR/ ro/ ru/ sk/ sl/ sv/ tr/ zh_CN/ zh_TW/ ### base 1.2.0 ### download wget http://ftp.gnu.org/gnu/wget/wget-1.10.1.tar.gz ### extract tar xzf wget-1.10.1.tar.gz cd wget-1.10.1 ### build export CFLAGS='-O2 -march=i486 -fomit-frame-pointer' ./configure \ --target=i486-pc-linux-gnu \ --prefix=/usr \ --sysconfdir=/etc \ --enable-ssl \ --enable-nls \ --enable-largefile make ### install make DESTDIR=/tmp/wget install cd /tmp/wget/usr strip -R .note -R .comment bin/* rm -r info/ ### base 1.6.5 ### wget 1.12 export CFLAGS='-O2 -march=i486' ./configure \ --build=i486-pc-linux-gnu \ --host=i486-pc-linux-gnu \ --prefix=/usr make strip -R .note -R .comment bin/wget