freeswitch/buildlib.sh
Anthony Minessale 6f0e998e92 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2005-12-20 23:17:30 +00:00

21 lines
327 B
Bash
Executable File

#!/bin/bash
base=http://www.sofaswitch.com/mikej
tar=$1
uncompressed=`echo $tar | sed "s/\.tar\.gz//g"`
if [ -d libs/$uncompressed ] ; then
echo $uncompressed already installed
exit
fi
shift
cd libs
rm -f $tar
wget $base/$tar
tar -zxvf $tar
echo "lame $uncompressed"
cd $uncompressed
./configure $@
make
make install