forked from norman/fusionpbx-install.sh-github-mirror
Update source-release.sh
This commit is contained in:
@@ -13,16 +13,12 @@ cwd=$(pwd)
|
|||||||
echo "Installing the FreeSWITCH source"
|
echo "Installing the FreeSWITCH source"
|
||||||
|
|
||||||
#install minimum dependencies
|
#install minimum dependencies
|
||||||
pkg install --yes gcc49 autoconf automake curl git gmake ldns libedit libtool openssl pcre pkgconf speex sqlite3
|
pkg install --yes autoconf automake curl git gmake ldns libedit libtool openssl pcre pkgconf speex sqlite3
|
||||||
pkg install --yes wget sudo libsndfile lua52 opus libmemcached libvorbis libogg tiff memcached
|
pkg install --yes wget sudo libsndfile lua52 opus libmemcached libvorbis libogg tiff memcached
|
||||||
|
|
||||||
#additional dependencies
|
#additional dependencies
|
||||||
#pkg install --yes libshout mpg123 lame
|
#pkg install --yes libshout mpg123 lame
|
||||||
|
|
||||||
#set environment variables
|
|
||||||
export CC gcc49
|
|
||||||
export CFLAGS '-Wno-error -std=gnu99'
|
|
||||||
|
|
||||||
#get the source from git and run boostrap
|
#get the source from git and run boostrap
|
||||||
git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
|
git clone -b v1.6 https://freeswitch.org/stash/scm/fs/freeswitch.git /usr/src/freeswitch
|
||||||
cd /usr/src/freeswitch && /bin/sh /usr/src/freeswitch/bootstrap.sh -j
|
cd /usr/src/freeswitch && /bin/sh /usr/src/freeswitch/bootstrap.sh -j
|
||||||
|
|||||||
Reference in New Issue
Block a user