|
@@ -6,18 +6,15 @@ cd "$(dirname "$0")"
|
|
|
#includes
|
|
|
. ../config.sh
|
|
|
|
|
|
-# add repo key
|
|
|
-wget -O - https://files.freeswitch.org/repo/deb/freeswitch-1.8/fsstretch-archive-keyring.asc | apt-key add -
|
|
|
-
|
|
|
-# add repo
|
|
|
-echo "deb http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" > /etc/apt/sources.list.d/freeswitch.list
|
|
|
-echo "deb-src http://files.freeswitch.org/repo/deb/freeswitch-1.8/ stretch main" >> /etc/apt/sources.list.d/freeswitch.list
|
|
|
-
|
|
|
#upgrade packages
|
|
|
apt update && apt upgrade -y
|
|
|
|
|
|
# install dependencies
|
|
|
-apt build-dep freeswitch -y
|
|
|
+apt install -y autoconf automake devscripts g++ git-core libncurses5-dev libtool make libjpeg-dev
|
|
|
+apt install -y pkg-config flac libgdbm-dev libdb-dev gettext sudo equivs mlocate git dpkg-dev libpq-dev
|
|
|
+apt install -y liblua5.2-dev libtiff5-dev libperl-dev libcurl4-openssl-dev libsqlite3-dev libpcre3-dev
|
|
|
+apt install -y devscripts libspeexdsp-dev libspeex-dev libldns-dev libedit-dev libopus-dev libmemcached-dev
|
|
|
+apt install -y libshout3-dev libmpg123-dev libmp3lame-dev yasm nasm libsndfile1-dev libuv1-dev libvpx-dev libvpx5
|
|
|
|
|
|
# additional dependencies
|
|
|
apt install -y sqlite3 swig3.0 unzip
|