mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-13 07:45:26 +00:00
swish and flick
This commit is contained in:
parent
c4119dbe54
commit
fe36c8cc30
@ -10,7 +10,7 @@
|
||||
FSPREFIX=/usr/local/freeswitch
|
||||
PREFIX=/opt/fs-libs
|
||||
JPEG=v8d
|
||||
OPENSSL=1.0.1h
|
||||
OPENSSL=1.0.1g
|
||||
SQLITE=autoconf-3080403
|
||||
PCRE=8.35
|
||||
CURL=7.36.0
|
||||
@ -34,58 +34,62 @@ install: freeswitch
|
||||
cd freeswitch.git && make install
|
||||
|
||||
install-git:
|
||||
rpm -i http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
|
||||
rpm -i http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
|
||||
yum update -y
|
||||
yum install -y git gcc-c++ wget ncurses-devel zlib-devel e2fsprogs-devel libtool automake autoconf
|
||||
|
||||
has-git:
|
||||
@git --version || (echo "please install git by running 'make install-git'" && false)
|
||||
|
||||
clean:
|
||||
@rm -rf openssl* ldns* jpeg* pcre* perl* pkg-config* speex* sqlite* libedit* curl* *~
|
||||
(cd freeswitch.git && git clean -fdx && git reset --hard HEAD && git pull)
|
||||
|
||||
libjpeg: jpeg-8d/Makefile
|
||||
|
||||
jpeg-8d/Makefile:
|
||||
(test -d jpeg-8d) || (wget -4 -O jpegsrc.$(JPEG).tar.gz http://www.ijg.org/files/jpegsrc.$(JPEG).tar.gz && tar zxfv jpegsrc.$(JPEG).tar.gz)
|
||||
(cd jpeg-8d && ./configure --prefix=$(PREFIX) && make && sudo make install)
|
||||
|
||||
openssl: openssl-$(OPENSSL)
|
||||
|
||||
openssl: openssl-$(OPENSSL)/Makefile
|
||||
openssl-$(OPENSSL)/Makefile: openssl-$(OPENSSL)
|
||||
openssl-$(OPENSSL):
|
||||
(test -d $@) || (wget -4 -O $@.tar.gz http://www.openssl.org/source/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||
(cd $@ && ./Configure --prefix=$(PREFIX) linux-x86_64 shared && make && sudo make install)
|
||||
|
||||
sqlite: sqlite-$(SQLITE)
|
||||
|
||||
sqlite: sqlite-$(SQLITE)/Makefile
|
||||
sqlite-$(SQLITE)/Makefile: sqlite-$(SQLITE)
|
||||
sqlite-$(SQLITE):
|
||||
(test -d $@) || (wget -4 -O $@.tar.gz http://www.sqlite.org/2014/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||
(cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install)
|
||||
|
||||
pcre: pcre-$(PCRE)
|
||||
|
||||
pcre: pcre-$(PCRE)/Makefile
|
||||
pcre-$(PCRE)/Makefile: pcre-$(PCRE)
|
||||
pcre-$(PCRE):
|
||||
(test -d $@) || (wget -4 -O $@.tar.gz http://downloads.sourceforge.net/project/pcre/pcre/$(PCRE)/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||
(cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install)
|
||||
|
||||
curl: curl-$(CURL)
|
||||
|
||||
curl: curl-$(CURL)/Makefile
|
||||
curl-$(CURL)/Makefile: curl-$(CURL)
|
||||
curl-$(CURL):
|
||||
(test -d $@) || (wget -4 -O $@.tar.gz http://curl.haxx.se/download/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||
(test -d $@) || (wget -4 -O $@.tar.gz http://www.execve.net/curl/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||
(cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install)
|
||||
|
||||
speex: speex-$(SPEEX)
|
||||
|
||||
speex: speex-$(SPEEX)/Makefile
|
||||
speex-$(SPEEX)/Makefile: speex-$(SPEEX)
|
||||
speex-$(SPEEX):
|
||||
(test -d $@) || (wget -4 -O $@.tar.gz http://downloads.xiph.org/releases/speex/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||
(cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install)
|
||||
|
||||
libedit: libedit-$(LIBEDIT)
|
||||
|
||||
libedit: libedit-$(LIBEDIT)/Makefile
|
||||
libedit-$(LIBEDIT)/Makefile: libedit-$(LIBEDIT)
|
||||
libedit-$(LIBEDIT):
|
||||
(test -d $@) || (wget -4 -O $@.tar.gz http://thrysoee.dk/editline/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||
(cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install)
|
||||
|
||||
ldns: ldns-$(LDNS)
|
||||
|
||||
ldns-$(LDNS): openssl
|
||||
ldns: ldns-$(LDNS)/Makefile
|
||||
ldns-$(LDNS)/Makefile: openssl ldns-$(LDNS)
|
||||
ldns-$(LDNS):
|
||||
(test -d $@) || (wget -4 -O $@.tar.gz http://www.nlnetlabs.nl/downloads/ldns/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||
(cd $@ && ./configure --with-ssl=$(PREFIX) --prefix=$(PREFIX) && make && sudo make install)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user