OpenBSD FTW
This commit is contained in:
parent
a537d80372
commit
31f98efc5c
|
@ -8,8 +8,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PKG=rsync-3.1.0 git automake-1.14.1 autoconf-2.69p1 libtool gmake bzip2 jpeg wget pcre speex libldns
|
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=/usr/local/freeswitch
|
||||||
PREFIX=$(FSPREFIX)
|
|
||||||
DOWNLOAD=http://files.freeswitch.org/downloads/libs
|
DOWNLOAD=http://files.freeswitch.org/downloads/libs
|
||||||
LIBRESSL=2.0.3
|
LIBRESSL=2.0.3
|
||||||
LIBEDIT=20140618-3.1
|
LIBEDIT=20140618-3.1
|
||||||
|
@ -19,7 +18,7 @@ freeswitch: has-git deps freeswitch.git/Makefile
|
||||||
cd freeswitch.git && AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 LIBTOOL=/usr/local/bin/libtoolize gmake
|
cd freeswitch.git && AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 LIBTOOL=/usr/local/bin/libtoolize gmake
|
||||||
|
|
||||||
freeswitch.git/Makefile: freeswitch.git/configure
|
freeswitch.git/Makefile: freeswitch.git/configure
|
||||||
cd freeswitch.git && PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig ./configure LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' --prefix=$(FSPREFIX)
|
cd freeswitch.git && PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig ./configure LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' --prefix=$(PREFIX)
|
||||||
|
|
||||||
freeswitch.git/configure: freeswitch.git/bootstrap.sh
|
freeswitch.git/configure: freeswitch.git/bootstrap.sh
|
||||||
cd freeswitch.git && AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 LIBTOOL=/usr/local/bin/libtoolize sh bootstrap.sh
|
cd freeswitch.git && AUTOCONF_VERSION=2.69 AUTOMAKE_VERSION=1.14 LIBTOOL=/usr/local/bin/libtoolize sh bootstrap.sh
|
||||||
|
@ -57,5 +56,5 @@ curl-$(CURL)/.done: curl-$(CURL)
|
||||||
curl-$(CURL):
|
curl-$(CURL):
|
||||||
(test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz)
|
(test -d $@) || (wget -4 -O $@.tar.gz $(DOWNLOAD)/$@.tar.gz && tar zxfv $@.tar.gz)
|
||||||
(rm -rf $(PREFIX)/lib/libcurl.*)
|
(rm -rf $(PREFIX)/lib/libcurl.*)
|
||||||
(cd $@ && PKG_CONFIG_PATH=/usr/local/freeswitch/lib/pkgconfig:$PKG_CONFIG_PATH LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath-link=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' ./configure --prefix=$(PREFIX) && make && sudo make install && touch .done)
|
(cd $@ && PKG_CONFIG_PATH=$(PREFIX)/lib/pkgconfig:$PKG_CONFIG_PATH LDFLAGS='-L$(PREFIX)/lib -Wl,-rpath-link=$(PREFIX)/lib' CFLAGS='-I$(PREFIX)/include' ./configure --prefix=$(PREFIX) && make && sudo make install && touch .done)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue