Update source-release.sh

This commit is contained in:
FusionPBX 2017-05-21 02:14:11 -06:00 committed by GitHub
parent b2b0d9d411
commit 06dffdc930
1 changed files with 1 additions and 5 deletions

View File

@ -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