mirror of https://github.com/OpenIPC/firmware.git
29 lines
853 B
Makefile
29 lines
853 B
Makefile
################################################################################
|
|
#
|
|
# libsrtp-openipc
|
|
#
|
|
################################################################################
|
|
|
|
ifeq ($(LOCAL_DOWNLOAD),y)
|
|
LIBSRTP_OPENIPC_SITE_METHOD = git
|
|
LIBSRTP_OPENIPC_SITE = https://github.com/cisco/libsrtp
|
|
LIBSRTP_OPENIPC_VERSION = $(shell git ls-remote $(LIBSRTP_OPENIPC_SITE) HEAD | head -1 | cut -f1)
|
|
else
|
|
LIBSRTP_OPENIPC_SITE = https://github.com/cisco/libsrtp/archive
|
|
LIBSRTP_OPENIPC_SOURCE = master.tar.gz
|
|
endif
|
|
|
|
LIBSRTP_OPENIPC_INSTALL_STAGING = YES
|
|
LIBSRTP_OPENIPC_LICENSE = BSD-3-Clause
|
|
LIBSRTP_OPENIPC_LICENSE_FILES = LICENSE
|
|
LIBSRTP_OPENIPC_CPE_ID_VENDOR = cisco
|
|
|
|
LIBSRTP_OPENIPC_CONF_OPTS = \
|
|
-DENABLE_OPENSSL=OFF \
|
|
-DBUILD_SHARED_LIBS=OFF \
|
|
-DCMAKE_BUILD_TYPE:STRING=Release
|
|
|
|
LIBSRTP_OPENIPC_MAKE_OPTS += VERBOSE=1
|
|
|
|
$(eval $(cmake-package))
|