This commit is contained in:
Brian West 2014-07-22 06:44:28 -05:00
parent ad8c7bc6f1
commit b3308dc720
1 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@
PKG=rsync-3.1.0 git automake-1.14.1 autoconf-2.69p1 libtool gmake bzip2 jpeg wget pcre speex libldns
FSPREFIX=/usr/local/freeswitch
PREFIX=$(FSPREFIX)
DOWNLOAD=http://files.freeswitch.org/downloads/libs
OPENSSL=1.0.1h
LIBEDIT=20140618-3.1
CURL=7.35.0
@ -42,13 +43,13 @@ deps: libedit openssl curl
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)
(test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz)
(cd $@ && ./Configure --prefix=$(PREFIX) BSD-x86_64 shared && make && sudo make install)
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)
(test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz)
(cd $@ && ./configure --prefix=$(PREFIX) && make && sudo make install)
curl: curl-$(CURL)/.done