1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 4437edfa08558aa407c9fad5e4eed58f757357c53ca735aed9977e48aa1c53e3
10 PKG_DESCR
:= cross-platform telephony platform
11 PKG_SECTION
:= net
/voip
12 PKG_DEPENDS
:= libpcre libcurl zlib libjpeg-turbo libsqlite
13 PKG_DEPENDS
+= libressl libopus spandsp sofia-sip
14 PKG_BUILDDEP
:= util-linux zlib libjpeg-turbo sqlite curl pcre
15 PKG_BUILDDEP
+= speex libressl opus spandsp sofia-sip
16 PKG_URL
:= http
://www.freeswitch.org
/
17 PKG_SITES
:= https
://github.com
/signalwire
/freeswitch
/archive
/refs
/tags/
19 DISTFILES
:= v
$(PKG_VERSION
).
tar.gz
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call PKG_template
,FREESWITCH
,freeswitch
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
25 AUTOTOOL_STYLE
:= bootstrap
26 CONFIGURE_ARGS
+= --disable-core-libedit-support \
28 CONFIGURE_ENV
+= ac_cv_file__dev_ptmx
=yes \
29 ac_cv_file__dev_zero
=yes \
30 ac_cv_file__dev_urandom
=yes \
31 ac_cv_sizeof_ssize_t
=4 \
32 ac_cv_func_realloc_0_nonnull
=yes \
33 ac_cv_func_malloc_0_nonnull
=yes \
34 ac_cv_gcc_supports_w_no_unused_result
=no \
35 apr_cv_tcp_nodelay_with_cork
=yes \
36 apr_cv_process_shared_works
=no \
37 ac_cv_file_dbd_apr_dbd_mysql_c
=no \
38 ac_cv_func_setpgrp_void
=yes
41 $(SED
) "/applications\/mod_av/d" $(WRKBUILD
)/modules.conf
42 $(SED
) "/applications\/mod_enum/d" $(WRKBUILD
)/modules.conf
43 $(SED
) "/applications\/mod_fsv/d" $(WRKBUILD
)/modules.conf
44 $(SED
) "/applications\/mod_signalwire/d" $(WRKBUILD
)/modules.conf
45 $(SED
) "/applications\/mod_spandsp/d" $(WRKBUILD
)/modules.conf
46 $(SED
) "/databases\/mod_pgsql/d" $(WRKBUILD
)/modules.conf
47 $(SED
) "/languages\/mod_lua/d" $(WRKBUILD
)/modules.conf
48 $(SED
) "/endpoints\/mod_sofia/d" $(WRKBUILD
)/modules.conf
49 $(SED
) "/endpoints\/mod_verto/d" $(WRKBUILD
)/modules.conf
50 $(SED
) "/codecs\/mod_vpx/d" $(WRKBUILD
)/modules.conf
51 $(SED
) "/formats\/mod_sndfile/d" $(WRKBUILD
)/modules.conf
54 $(INSTALL_DIR
) $(IDIR_FREESWITCH
)/usr
/bin
55 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/freeswitch \
56 $(IDIR_FREESWITCH
)/usr
/bin
58 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk