#!/bin/bash
# build with openssl/devs present.
 
PKG=/mnt/hda2/wget/pkg

[ -d wget-1.12 ] || rm -r wget-1.12 
tar xjvf wget-1.12.tar.bz2
cd wget-1.12
./configure --prefix=/usr/local --sysconfdir=/usr/local/etc --disable-nls 
make 
make install DESTDIR="$PKG"