forked from Mirrors/freeswitch
[temporary] bsd-friendly hack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13898 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
1b14c58aea
commit
59d0e2b4b4
|
@ -1,17 +1,20 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
uname -a | grep -qi bsd && MAKE=gmake || MAKE=make
|
||||||
FS_DIR=`pwd`
|
FS_DIR=`pwd`
|
||||||
|
|
||||||
cd /root
|
cd /root
|
||||||
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
|
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/ptlib/trunk ptlib
|
||||||
cd ptlib
|
cd ptlib
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
${MAKE}
|
||||||
make install
|
${MAKE} install
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_6 opal
|
svn co https://opalvoip.svn.sourceforge.net/svnroot/opalvoip/opal/branches/v3_6 opal
|
||||||
cd opal
|
cd opal
|
||||||
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
|
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
${MAKE}
|
||||||
make install
|
${MAKE} install
|
||||||
cd ${FS_DIR}
|
cd ${FS_DIR}
|
||||||
make mod_opal-install
|
${MAKE} mod_opal-install
|
||||||
|
|
Loading…
Reference in New Issue