Commit 60525d46 authored by Guillaume BIENKOWSKI's avatar Guillaume BIENKOWSKI
Browse files

Don't compile odb, but rather take the official RPM

parent 98e9c57f
......@@ -34,3 +34,7 @@ set(EP_odb_RPMBUILD_NAME "odb-")
set(EP_odb_PATCH_COMMAND "${CMAKE_COMMAND}" "-E" "make_directory" "${LINPHONE_BUILDER_WORK_DIR}/rpmbuild/SOURCES/")
set(EP_odb_PATCH_COMMAND ${EP_odb_PATCH_COMMAND} "COMMAND" "${CMAKE_COMMAND}" "-E" "copy" "${LINPHONE_BUILDER_WORK_DIR}/Download/EP_odb/${odb_filename}" "${LINPHONE_BUILDER_WORK_DIR}/rpmbuild/SOURCES/")
set(EP_odb_PATCH_COMMAND ${EP_odb_PATCH_COMMAND} "COMMAND" "${CMAKE_COMMAND}" "-E" "copy" ${EP_odb_CONFIG_H_FILE} "<BINARY_DIR>")
set(EP_odb_CONFIGURE_COMMAND_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/builders/odb/configure.sh.cmake)
set(EP_odb_BUILD_COMMAND_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/builders/odb/build.sh.cmake)
set(EP_odb_INSTALL_COMMAND_SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/cmake/install.rpm.sh.cmake)
#!/bin/sh
export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild/RPMS"
export ODB_RPM_URL="http://www.codesynthesis.com/download/odb/2.3/odb-2.3.0-1.x86_64.rpm"
wget "$ODB_RPM_URL" -P "$RPM_TOPDIR"
\ No newline at end of file
......@@ -122,6 +122,7 @@ 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_odb_BUILD_METHOD "custom")
set(EP_ortp_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
set(EP_unixodbc_SPEC_PREFIX "${RPM_INSTALL_PREFIX}")
......
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