# Chamar funcao usando:
# addpath modulo path
addpath ()
{
case $1 in
zlib) cat $dir.installpath | sed "s/:.*$//" > teste1 ; cat teste1 | sed "s#^$1#$1 : $2#g" > teste ; cat teste > $dir.installpath;;
libpng) cat $dir.installpath | sed "s/:.*$//" > teste1 ; cat teste1 | sed "s#^$1#$1 : $2#g" > teste ; cat teste > $dir.installpath;;
libjpeg) cat $dir.installpath | sed "s/:.*$//" > teste1 ; cat teste1 | sed "s#^$1#$1 : $2#g" > teste ; cat teste > $dir.installpath;;
freetype) cat $dir.installpath | sed "s/:.*$//" > teste1 ; cat teste1 | sed "s#^$1#$1 : $2#g" > teste ; cat teste > $dir.installpath;;
gd) cat $dir.installpath | sed "s/:.*$//" > teste1 ; cat teste1 | sed "s#^$1#$1 : $2#g" > teste ; cat teste > $dir.installpath;;
mhash) cat $dir.installpath | sed "s/:.*$//" > teste1 ; cat teste1 | sed "s#^$1#$1 : $2#g" > teste ; cat teste > $dir.installpath;;
httpd) cat $dir.installpath | sed "s/:.*$//" > teste1 ; cat teste1 | sed "s#^$1#$1 : $2#g" > teste ; cat teste > $dir.installpath;;
php) cat $dir.installpath | sed "s/:.*$//" > teste1 ; cat teste1 | sed "s#^$1#$1 : $2#g" > teste ; cat teste > $dir.installpath;;
esac
}