Commit f4d413e8 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI

Progress commit on flexisip rpm builder. This iteration builds a functional...

Progress commit on flexisip rpm builder. This iteration builds a functional RPM but withtout some features (push, protobuf, ...)
parent 8678a4b8
......@@ -47,12 +47,31 @@ build-flexisip:
-DCMAKE_INSTALL_PREFIX=../../OUTPUT \
$(filter -D%,$(MAKEFLAGS)) && \
make -j $(NUMCPUS)
# make VERBOSE=1
clean-flexisip:
rm -rf WORK/tmp-flexisip && \
rm -rf WORK/Build-flexisip
build-flexisip-rpm:
export ODBC_PATH=../../OUTPUT
mkdir -p WORK/cmake-flexisip-rpm && \
cd WORK/cmake-flexisip-rpm && \
cmake ../.. -DLINPHONE_BUILDER_CONFIG_FILE=configs/config-flexisip-rpm.cmake \
-DLINPHONE_BUILDER_TARGET=flexisip \
-DCMAKE_PREFIX_PATH=../../OUTPUT\
-DCMAKE_INSTALL_PREFIX=../../OUTPUT \
$(filter -D%,$(MAKEFLAGS)) && \
make
# make -j $(NUMCPUS)
clean-flexisip-rpm:
rm -rf WORK/tmp-flexisip-rpm && \
rm -rf WORK/Build-flexisip-rpm
# needed: ?
# rm -rf WORK/Build-flexisip-rpm && \
# rm -rf WORK/rpmbuild/RPMS/*
build-bb10-i486:
mkdir -p OUTPUT/liblinphone-bb10-sdk && \
mkdir -p WORK/cmake-bb10-i486 && \
......
......@@ -32,8 +32,8 @@ set(EP_flexisip_CROSS_COMPILATION_OPTIONS
"--prefix=${CMAKE_INSTALL_PREFIX}"
"--host=${LINPHONE_BUILDER_HOST}"
)
set(EP_flexisip_CONFIG_H_FILE "flexisip-config.h")
set(EP_flexisip_CONFIG_H_FILE "flexisip.spec")
list(APPEND EP_flexisip_CONFIGURE_OPTIONS "--disable-transcoder" "--enable-redis" "--with-odbc=${CMAKE_INSTALL_PREFIX}" )
#PKG_CONFIG_PATH=/opt/belledonne-communications/lib64/pkgconfig ./configure --with-odbc=/opt/belledonne-communications --disable-transcoder --disable-pushnotification --enable-redis
\ No newline at end of file
set(EP_flexisip_SPEC_FILE "flexisip.spec")
\ No newline at end of file
......@@ -27,4 +27,9 @@ set(EP_myodbc_CMAKE_OPTIONS "-DWITH_UNIXODBC=1")
set(EP_myodbc_LINKING_TYPE )
set(EP_myodbc_DEPENDENCIES EP_unixodbc )
set(EP_myodbc_SPEC_FILE "scripts/myodbc3.spec")
set(EP_myodbc_CONFIG_H_FILE "scripts/myodbc3.spec")
set(EP_myodbc_CONFIGURE_EXTRA_CMD "cd scripts && make && cd -")
set(EP_myodbc_RPMBUILD_NAME "mysql-connector")
\ No newline at end of file
......@@ -27,21 +27,34 @@ else()
set(EP_ortp_GIT_TAG "4077e127ee731b0797a9303d55f0d61bcb947bf8")
endif()
if(${EP_ortp_FORCE_AUTOTOOLS} STREQUAL "yes")
set(EP_ortp_LINKING_TYPE "--enable-static")
set(EP_ortp_USE_AUTOGEN "yes")
else()
set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=0")
endif()
set(EP_ortp_CMAKE_OPTIONS )
set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=0")
set(EP_ortp_DEPENDENCIES )
if(ENABLE_SRTP)
list(APPEND EP_ortp_CMAKE_OPTIONS "-DENABLE_SRTP=1")
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--enable-srtp")
list(APPEND EP_ortp_DEPENDENCIES EP_srtp)
else()
list(APPEND EP_ortp_CMAKE_OPTIONS "-DENABLE_SRTP=0")
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--disable-srtp")
endif()
if(ENABLE_ZRTP)
list(APPEND EP_ortp_CMAKE_OPTIONS "-DENABLE_ZRTP=1")
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--enable-zrtp")
list(APPEND EP_ortp_DEPENDENCIES EP_bzrtp)
else()
list(APPEND EP_ortp_CMAKE_OPTIONS "-DENABLE_ZRTP=0")
list(APPEND EP_ortp_CONFIGURE_OPTIONS "--disable-srtp")
endif()
if(MSVC)
set(EP_ortp_EXTRA_LDFLAGS "/SAFESEH:NO")
endif()
set(EP_ortp_SPEC_FILE "ortp.spec")
......@@ -37,4 +37,8 @@ set(EP_sofiasip_CROSS_COMPILATION_OPTIONS
"--host=${LINPHONE_BUILDER_HOST}"
)
list(APPEND EP_sofiasip_CONFIGURE_OPTIONS "--without-boostlog" )
\ No newline at end of file
list(APPEND EP_sofiasip_CONFIGURE_OPTIONS "--without-boostlog" )
# RPM
set(EP_sofiasip_SPEC_FILE "packages/sofia-sip-1.12.11devel.spec")
set(EP_sofiasip_RPMBUILD_NAME "sofia-sip")
\ No newline at end of file
......@@ -34,4 +34,7 @@ set(EP_unixodbc_CROSS_COMPILATION_OPTIONS
"--host=${LINPHONE_BUILDER_HOST}"
)
list(APPEND EP_unixodbc_CONFIGURE_OPTIONS "--without-boostlog" )
\ No newline at end of file
list(APPEND EP_unixodbc_CONFIGURE_OPTIONS "--without-boostlog" )
set(EP_unixodbc_SPEC_FILE "unixodbc.spec")
set(EP_unixodbc_PATCH_COMMAND "${CMAKE_COMMAND}" "-E" "copy" "<SOURCE_DIR>/${EP_unixodbc_SPEC_FILE}" "<BINARY_DIR>")
\ No newline at end of file
......@@ -433,25 +433,25 @@ macro(linphone_builder_create_autogen_command PROJNAME)
foreach(OPTION ${EP_${PROJNAME}_CROSS_COMPILATION_OPTIONS} ${EP_${PROJNAME}_LINKING_TYPE} ${EP_${PROJNAME}_CONFIGURE_OPTIONS})
set(ep_autogen_options "${ep_autogen_options} \"${OPTION}\"")
endforeach(OPTION)
endif("${EP_${PROJNAME}_CONFIGURE_OPTIONS_PASSED_TO_AUTOGEN}" STREQUAL "yes")
endif()
set(ep_autogen_command "${ep_source}/autogen.sh ${ep_autogen_options}")
else("${EP_${PROJNAME}_USE_AUTOGEN}" STREQUAL "yes")
else()
set(ep_autogen_command "")
endif("${EP_${PROJNAME}_USE_AUTOGEN}" STREQUAL "yes")
endif()
endmacro(linphone_builder_create_autogen_command)
macro(linphone_builder_create_configure_command PROJNAME)
if("${EP_${PROJNAME}_CONFIGURE_OPTIONS_PASSED_TO_AUTOGEN}" STREQUAL "yes")
set(ep_configure_command "")
else("${EP_${PROJNAME}_CONFIGURE_OPTIONS_PASSED_TO_AUTOGEN}" STREQUAL "yes")
else()
set(ep_configure_options "")
foreach(OPTION ${EP_${PROJNAME}_CROSS_COMPILATION_OPTIONS} ${EP_${PROJNAME}_LINKING_TYPE} ${EP_${PROJNAME}_CONFIGURE_OPTIONS})
set(ep_configure_options "${ep_configure_options} \"${OPTION}\"")
endforeach(OPTION)
set(ep_configure_env "${EP_${PROJNAME}_CONFIGURE_ENV}")
set(ep_configure_command "${ep_source}/configure ${ep_configure_options}")
endif("${EP_${PROJNAME}_CONFIGURE_OPTIONS_PASSED_TO_AUTOGEN}" STREQUAL "yes")
endif()
endmacro(linphone_builder_create_configure_command)
......@@ -527,6 +527,70 @@ function(linphone_builder_add_project PROJNAME)
BUILD_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_build.${SCRIPT_EXTENSION}
INSTALL_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_install.${SCRIPT_EXTENSION}
)
elseif("${EP_${PROJNAME}_BUILD_METHOD}" STREQUAL "rpm")
if(WIN32)
message( SEND_ERROR "rpm build not supported on WIN32")
endif()
linphone_builder_create_autogen_command(${PROJNAME})
linphone_builder_create_configure_command(${PROJNAME})
if("${EP_${PROJNAME}_CONFIG_H_FILE}" STREQUAL "")
set(ep_config_h_file config.h)
else()
set(ep_config_h_file ${EP_${PROJNAME}_CONFIG_H_FILE})
endif()
if("${EP_${PROJNAME}_INSTALL_TARGET}" STREQUAL "")
set(ep_install_target "install")
else()
set(ep_install_target "${EP_${PROJNAME}_INSTALL_TARGET}")
endif()
if("${EP_${PROJNAME}_SPEC_FILE}" STREQUAL "")
message( SEND_ERROR "rpm build requires EP_${PROJNAME}_SPEC_FILE to be defined")
else()
set(LINPHONE_BUILDER_SPEC_FILE "${EP_${PROJNAME}_SPEC_FILE}")
endif()
# a distinctive name of the generated RPM. It is used to find the rpms to install
# in the install step. Defaults to $PROJNAME but could be something else
if("${EP_${PROJNAME}_RPMBUILD_NAME}" STREQUAL "")
set(LINPHONE_BUILDER_RPMBUILD_NAME "${PROJNAME}")
else()
set(LINPHONE_BUILDER_RPMBUILD_NAME "${EP_${PROJNAME}_RPMBUILD_NAME}")
endif()
# a distinctive name of the generated RPM. It is used to find the rpms to install
# in the install step. Defaults to $PROJNAME but could be something else
if(NOT "${EP_${PROJNAME}_RPMBUILD_OPTIONS}" STREQUAL "")
set(LINPHONE_BUILDER_RPMBUILD_OPTIONS "${EP_${PROJNAME}_RPMBUILD_OPTIONS}")
endif()
set(LINPHONE_BUILDER_SPEC_PREFIX "${EP_${PROJNAME}_SPEC_PREXIX}")
if("${EP_${PROJNAME}_PKG_CONFIG}" STREQUAL "")
set(LINPHONE_BUILDER_PKG_CONFIG "${PKG_CONFIG_PROGRAM}")
else()
set(LINPHONE_BUILDER_PKG_CONFIG "${EP_${PROJNAME}_PKG_CONFIG}")
endif()
if(NOT "${EP_${PROJNAME}_CONFIGURE_EXTRA_CMD}" STREQUAL "")
set(LINPHONE_BUILDER_CONFIGURE_EXTRA_CMD "${EP_${PROJNAME}_CONFIGURE_EXTRA_CMD}")
endif()
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/configure.rpm.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_configure_rpm.sh)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/build.rpm.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_build_rpm.sh)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/install.rpm.sh.cmake ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_install_rpm.sh)
set(BUILD_COMMANDS
CONFIGURE_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_configure_rpm.sh
BUILD_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_build_rpm.sh
INSTALL_COMMAND ${CMAKE_CURRENT_BINARY_DIR}/EP_${PROJNAME}_install_rpm.sh
)
else()
# Use CMake build method
if("${CMAKE_VERSION}" VERSION_GREATER "2.8.3")
......@@ -577,6 +641,15 @@ function(linphone_builder_add_project PROJNAME)
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
endif()
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/builders/${PROJNAME}/postconfig.cmake)
ExternalProject_Add_Step(EP_${PROJNAME} postinstall
COMMAND ${CMAKE_COMMAND} -DPYTHON_EXECUTABLE=${PYTHON_EXECUTABLE} -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} -DINSTALL_PREFIX=${CMAKE_INSTALL_PREFIX} -P ${CMAKE_CURRENT_SOURCE_DIR}/builders/${PROJNAME}/postinstall.cmake
COMMENT "Performing post-installation step"
DEPENDEES mkdir update patch download configure build install
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
endif()
endfunction(linphone_builder_add_project)
function(linphone_builder_add_external_projects)
......
#!/bin/sh
export CC="@AUTOTOOLS_C_COMPILER@"
export CXX="@AUTOTOOLS_CXX_COMPILER@"
export OBJC="@AUTOTOOLS_OBJC_COMPILER@"
export LD="@AUTOTOOLS_LINKER@"
export AR="@AUTOTOOLS_AR@"
export RANLIB="@AUTOTOOLS_RANLIB@"
export STRIP="@AUTOTOOLS_STRIP@"
export NM="@AUTOTOOLS_NM@"
export ASFLAGS="@ep_asflags@"
export CPPFLAGS="@ep_cppflags@"
export CFLAGS="@ep_cflags@"
export CXXFLAGS="@ep_cxxflags@"
export OBJCFLAGS="@ep_objcflags@"
export LDFLAGS="@ep_ldflags@"
export PKG_CONFIG="@LINPHONE_BUILDER_PKG_CONFIG@"
export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild"
VERBOSE=""
if [[ @AUTOTOOLS_VERBOSE_MAKEFILE@ ]]; then
VERBOSE="--verbose"
fi
# SPEC_PREFIX=""
# if [ @LINPHONE_BUILDER_SPEC_PREFIX@ != "" ]; then
# SPEC_PREFIX="--define \"_prefix @LINPHONE_BUILDER_SPEC_PREFIX@\""
# fi
cd @ep_build@
# TODO rpmbuild -ba @ep_build@/@LINPHONE_BUILDER_SPEC_FILE@ --define "_topdir $RPM_TOPDIR" $SPEC_PREFIX --with bc $VERBOSE @ep_redirect_to_file@
rpmbuild -ba @ep_build@/@LINPHONE_BUILDER_SPEC_FILE@ --define "_topdir $RPM_TOPDIR" @LINPHONE_BUILDER_RPMBUILD_OPTIONS@ $VERBOSE @ep_redirect_to_file@
......@@ -21,4 +21,4 @@ export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
cd @ep_build@
make V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_redirect_to_file@
make V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_redirect_to_file@
\ No newline at end of file
#!/bin/sh
export CC="@AUTOTOOLS_C_COMPILER@"
export CXX="@AUTOTOOLS_CXX_COMPILER@"
export OBJC="@AUTOTOOLS_OBJC_COMPILER@"
export LD="@AUTOTOOLS_LINKER@"
export AR="@AUTOTOOLS_AR@"
export RANLIB="@AUTOTOOLS_RANLIB@"
export STRIP="@AUTOTOOLS_STRIP@"
export NM="@AUTOTOOLS_NM@"
export ASFLAGS="@ep_asflags@"
export CPPFLAGS="@ep_cppflags@"
export CFLAGS="@ep_cflags@"
export CXXFLAGS="@ep_cxxflags@"
export OBJCFLAGS="@ep_objcflags@"
export LDFLAGS="@ep_ldflags@"
export PKG_CONFIG="@LINPHONE_BUILDER_PKG_CONFIG@"
export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild"
cd @ep_build@
# create rpmbuild workdir if needed
for dir in BUILDROOT RPMS SOURCES SPECS SRPMS; do
mkdir -p "$RPM_TOPDIR/$dir"
done
if [ ! -f @ep_config_h_file@ ]
then
@ep_autogen_command@ @ep_autogen_redirect_to_file@
@ep_configure_env@ @ep_configure_command@ @ep_configure_redirect_to_file@
make dist V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_redirect_to_file@
cp *.tar.gz "$RPM_TOPDIR/SOURCES"
@LINPHONE_BUILDER_CONFIGURE_EXTRA_CMD@
touch @ep_config_h_file@
fi
#!/bin/sh
export CC="@AUTOTOOLS_C_COMPILER@"
export CXX="@AUTOTOOLS_CXX_COMPILER@"
export OBJC="@AUTOTOOLS_OBJC_COMPILER@"
export LD="@AUTOTOOLS_LINKER@"
export AR="@AUTOTOOLS_AR@"
export RANLIB="@AUTOTOOLS_RANLIB@"
export STRIP="@AUTOTOOLS_STRIP@"
export NM="@AUTOTOOLS_NM@"
export ASFLAGS="@ep_asflags@"
export CPPFLAGS="@ep_cppflags@"
export CFLAGS="@ep_cflags@"
export CXXFLAGS="@ep_cxxflags@"
export OBJCFLAGS="@ep_objcflags@"
export LDFLAGS="@ep_ldflags@"
export PKG_CONFIG="@LINPHONE_BUILDER_PKG_CONFIG@"
export PKG_CONFIG_PATH="@LINPHONE_BUILDER_PKG_CONFIG_PATH@"
export PKG_CONFIG_LIBDIR="@LINPHONE_BUILDER_PKG_CONFIG_LIBDIR@"
export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild"
# cd @ep_build@
# make V=@AUTOTOOLS_VERBOSE_MAKEFILE@ @ep_install_target@ @ep_redirect_to_file@
find "$RPM_TOPDIR/RPMS" -name "*@LINPHONE_BUILDER_RPMBUILD_NAME@*.rpm" -exec sudo rpm -ivh --force {} +
#sudo rpm -ivh WORK/rpmbuild/RPMS/x86_64/*.rpm --force
\ No newline at end of file
############################################################################
# config-flexisip.cmake
# Copyright (C) 2014 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################################
# Define default values for the linphone builder options
set(DEFAULT_VALUE_ENABLE_VIDEO OFF)
set(DEFAULT_VALUE_ENABLE_GPL_THIRD_PARTIES OFF)
set(DEFAULT_VALUE_ENABLE_FFMPEG OFF)
set(DEFAULT_VALUE_ENABLE_ZRTP OFF)
set(DEFAULT_VALUE_ENABLE_SRTP OFF)
set(DEFAULT_VALUE_ENABLE_AMRNB OFF)
set(DEFAULT_VALUE_ENABLE_AMRWB OFF)
set(DEFAULT_VALUE_ENABLE_G729 OFF)
set(DEFAULT_VALUE_ENABLE_GSM OFF)
set(DEFAULT_VALUE_ENABLE_ILBC OFF)
set(DEFAULT_VALUE_ENABLE_ISAC OFF)
set(DEFAULT_VALUE_ENABLE_OPUS OFF)
set(DEFAULT_VALUE_ENABLE_SILK OFF)
set(DEFAULT_VALUE_ENABLE_SPEEX OFF)
set(DEFAULT_VALUE_ENABLE_WEBRTC_AEC OFF)
set(DEFAULT_VALUE_ENABLE_H263 OFF)
set(DEFAULT_VALUE_ENABLE_H263P OFF)
set(DEFAULT_VALUE_ENABLE_MPEG4 OFF)
set(DEFAULT_VALUE_ENABLE_OPENH264 OFF)
set(DEFAULT_VALUE_ENABLE_VPX OFF)
set(DEFAULT_VALUE_ENABLE_X264 OFF)
set(DEFAULT_VALUE_ENABLE_TUNNEL OFF)
set(DEFAULT_VALUE_ENABLE_UNIT_TESTS OFF)
# Global configuration
set(LINPHONE_BUILDER_HOST "")
if(APPLE)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.6")
set(CMAKE_OSX_ARCHITECTURES "i386")
set(LINPHONE_BUILDER_HOST "i686-apple-darwin")
set(LINPHONE_BUILDER_CPPFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
set(LINPHONE_BUILDER_OBJCFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
set(LINPHONE_BUILDER_LDFLAGS "-mmacosx-version-min=${CMAKE_OSX_DEPLOYMENT_TARGET} -arch ${CMAKE_OSX_ARCHITECTURES}")
endif(APPLE)
# Adjust PKG_CONFIG_PATH to include install directory
if(UNIX)
set(LINPHONE_BUILDER_PKG_CONFIG_PATH "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig/:$ENV{PKG_CONFIG_PATH}:/usr/${CMAKE_INSTALL_LIBDIR}/pkgconfig/:/usr/${CMAKE_INSTALL_LIBDIR}/x86_64-linux-gnu/pkgconfig/:/usr/share/pkgconfig/:/usr/local/${CMAKE_INSTALL_LIBDIR}/pkgconfig/:/opt/local/${CMAKE_INSTALL_LIBDIR}/pkgconfig/")
else() # Windows
set(LINPHONE_BUILDER_PKG_CONFIG_PATH "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/")
endif()
set(EP_ortp_FORCE_AUTOTOOLS "yes")
# Include builders
include(builders/CMakeLists.txt)
set(RPM_INSTALL_PREFIX "/opt/belledonne-communications")
set(EP_ortp_GIT_TAG "master")
set(EP_ortp_BUILD_METHOD "rpm")
set(EP_unixodbc_BUILD_METHOD "rpm")
set(EP_myodbc_BUILD_METHOD "rpm")
set(EP_sofiasip_BUILD_METHOD "rpm")
set(EP_flexisip_BUILD_METHOD "rpm")
set(EP_ortp_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
set(EP_unixodbc_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
set(EP_sofiasip_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
set(EP_flexisip_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
set(EP_myodbc_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
set(EP_myodbc_CONFIGURE_OPTIONS "--with-unixODBC=${RPM_INSTALL_PREFIX}")
set(EP_flexisip_CONFIGURE_OPTIONS "--with-odbc=${RPM_INSTALL_PREFIX}" "--disable-transcoder" "--disable-pushnotification" "--enable-redis")
set(EP_myodbc_RPMBUILD_OPTIONS "--with bc")
set(EP_flexisip_RPMBUILD_OPTIONS "--with bc --without transcoder --without protobuf --without boostlog")
set(EP_unixodbc_RPMBUILD_OPTIONS "--with bc")
set(EP_sofiasip_RPMBUILD_OPTIONS "--with bc")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment