# This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. include $(ADK_TOPDIR)/rules.mk PKG_NAME:= freeswitch PKG_VERSION:= 1.6.18 PKG_RELEASE:= 1 PKG_HASH:= ac1b32f61e5c35680c5a2d6f145bc480cf26e6527af07d8b8b9fa2d5280252cd PKG_DESCR:= cross-platform telephony platform PKG_SECTION:= net/voip PKG_DEPENDS:= libpcre libcurl zlib libjpeg-turbo libsqlite PKG_DEPENDS+= libressl libopus PKG_BUILDDEP:= util-linux zlib libjpeg-turbo sqlite curl pcre PKG_BUILDDEP+= speex libressl opus PKG_URL:= http://www.freeswitch.org/ PKG_SITES:= http://files.freeswitch.org/freeswitch-releases/ include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,FREESWITCH,freeswitch,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) CONFIGURE_ARGS+= --disable-core-libedit-support \ --disable-libvpx CONFIGURE_ENV+= ac_cv_file__dev_ptmx=yes \ ac_cv_file__dev_zero=yes \ ac_cv_file__dev_urandom=yes \ ac_cv_sizeof_ssize_t=4 \ ac_cv_func_realloc_0_nonnull=yes \ ac_cv_func_malloc_0_nonnull=yes \ ac_cv_gcc_supports_w_no_unused_result=no \ apr_cv_tcp_nodelay_with_cork=yes \ apr_cv_process_shared_works=no \ ac_cv_file_dbd_apr_dbd_mysql_c=no \ ac_cv_func_setpgrp_void=yes pre-configure: $(SED) "/applications\/mod_enum/d" $(WRKBUILD)/modules.conf $(SED) "/applications\/mod_fsv/d" $(WRKBUILD)/modules.conf $(SED) "/languages\/mod_lua/d" $(WRKBUILD)/modules.conf $(SED) "/endpoints\/mod_sofia/d" $(WRKBUILD)/modules.conf $(SED) "/codecs\/mod_vpx/d" $(WRKBUILD)/modules.conf $(SED) "/formats\/mod_sndfile/d" $(WRKBUILD)/modules.conf freeswitch-install: $(INSTALL_DIR) $(IDIR_FREESWITCH)/usr/bin $(INSTALL_BIN) $(WRKINST)/usr/bin/freeswitch \ $(IDIR_FREESWITCH)/usr/bin include $(ADK_TOPDIR)/mk/pkg-bottom.mk