DESCRIPTION = "library implementing Secure RTP (RFC 3711)"
HOMEPAGE = "https://github.com/cisco/libsrtp"
SECTION = "libs"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=15bc16b9d2e305974dde47e733883714"

S = "${WORKDIR}/git"
SRCREV = "2b091a4fb21c9b06fc5d4b5763bdaec97542fcd7"
SRC_URI = "git://github.com/cisco/libsrtp.git;protocol=https;branch=1_6_x_throttle; \
           file://0001-Rename-conflicting-variable-mips.patch \
           "

inherit autotools

ALLOW_EMPTY_${PN} = "1"

DESCRIPTION = "library implementing Secure RTP (RFC 3711)"
HOMEPAGE = "https://github.com/cisco/libsrtp"
SECTION = "libs"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=15bc16b9d2e305974dde47e733883714"

S = "${WORKDIR}/git"
SRCREV = "2b091a4fb21c9b06fc5d4b5763bdaec97542fcd7"
SRC_URI = "git://github.com/cisco/libsrtp.git;protocol=https;branch=1_6_x_throttle; \
           file://0001-Rename-conflicting-variable-mips.patch \
           "

inherit autotools pkgconfig

EXTRA_OEMAKE += "shared_library"

ALLOW_EMPTY_${PN} = "1"

Fix compilation and add pkgconfig
libsrtp: Fix compilation and add pkgconfig

With current recipe state only static library was
build. Add extra option to build dynamic library
and also inherit pkgconfig to have installed library
pkgconfig

Signed-off-by: Marek Belisko <2e0084147176644ce91c5df4ae01a4a541d3616d@open-nandra.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
