wget http://ftp.gnu.org/pub/gnu/gperf/gperf-3.1.tar.gz
tar -xf gperf-3.1.tar.gz
cd gperf-3.1
./configure --prefix=/usr --docdir=/usr/share/doc/gperf-3.1
make
make DESTDIR="$1" install