forked from Mirrors/freeswitch
4d3dac5b52
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16744 d0543943-73ff-0310-b7d9-9358b9ac24b2
21 lines
454 B
Bash
Executable File
21 lines
454 B
Bash
Executable File
#!/bin/sh
|
|
uname -a | grep -qi bsd && MAKE=gmake || MAKE=make
|
|
FS_DIR=`pwd`
|
|
|
|
cd /root
|
|
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
|
|
cd ptlib
|
|
./configure --prefix=/usr
|
|
${MAKE}
|
|
${MAKE} install
|
|
|
|
cd ..
|
|
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_6 opal
|
|
cd opal
|
|
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
|
|
./configure --prefix=/usr
|
|
${MAKE}
|
|
${MAKE} install
|
|
cd ${FS_DIR}
|
|
${MAKE} mod_opal-install
|