#!/bin/bash cd `dirname $0` . ../env name=libpng-1.2.51 rm -rf $name tar xzf $src/$name.tar.gz cd $name ./configure \ --prefix=$prefix make && make install