Update source-release.sh

This commit is contained in:
FusionPBX 2017-05-20 15:24:29 -06:00 committed by GitHub
parent b268d1da48
commit 38efb2eb80
1 changed files with 4 additions and 5 deletions

View File

@ -24,10 +24,9 @@ pkg install --yes wget sudo libsndfile lua52 opus libmemcached libvorbis libogg
#cd /usr/src/freeswitch && /bin/sh /usr/src/freeswitch/bootstrap.sh -j #cd /usr/src/freeswitch && /bin/sh /usr/src/freeswitch/bootstrap.sh -j
#get the release from https #get the release from https
cd /usr/src cd /usr/src && fetch https://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.17.zip
fetch https://files.freeswitch.org/freeswitch-releases/freeswitch-1.6.17.zip cd /usr/src && unzip /usr/src/freeswitch-1.6.17.zip
unzip /usr/src/freeswitch-1.6.17.zip mv /usr/src/freeswitch-1.6.17 /usr/src/freeswitch
mv /usr/src/freeswitch-1.6.17 freeswitch
#enable the modules #enable the modules
sed -i' ' -e s:'#applications/mod_avmd:applications/mod_avmd:' /usr/src/freeswitch/modules.conf sed -i' ' -e s:'#applications/mod_avmd:applications/mod_avmd:' /usr/src/freeswitch/modules.conf
@ -38,7 +37,7 @@ sed -i' ' -e s:'#applications/mod_curl:applications/mod_curl:' /usr/src/freeswit
#sed -i' ' -e s:'#formats/mod_shout:formats/mod_shout:' /usr/src/freeswitch/modules.conf #sed -i' ' -e s:'#formats/mod_shout:formats/mod_shout:' /usr/src/freeswitch/modules.conf
#configure the source (additional option --enable-system-lua) #configure the source (additional option --enable-system-lua)
/bin/sh configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs cd /usr/src/freeswitch && ./configure --prefix=/usr/local/freeswitch --enable-core-pgsql-support --disable-fhs
#gmake #gmake
rm -rf /usr/local/freeswitch/{lib,mod,bin}/* rm -rf /usr/local/freeswitch/{lib,mod,bin}/*