kumquat-buildroot/package/libeXosip2/libeXosip2.mk
Fabrice Fontaine 5b8d0ea147 package/libeXosip2: add CPE variables
cpe:2.3🅰️gnu:exosip is a valid CPE identifier for this package:

  https://nvd.nist.gov/products/cpe/search/results?namingFormat=2.3&keyword=cpe%3A2.3%3Aa%3Agnu%3Aexosip

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2021-05-20 21:37:12 +02:00

39 lines
1.1 KiB
Makefile

################################################################################
#
# libexosip2
#
################################################################################
LIBEXOSIP2_VERSION = 5.2.0
# Since version 5.0, letter 'X' in library's name is in lower case
LIBEXOSIP2_SOURCE = libexosip2-$(LIBEXOSIP2_VERSION).tar.gz
LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip
LIBEXOSIP2_INSTALL_STAGING = YES
LIBEXOSIP2_LICENSE = GPL-2.0+
LIBEXOSIP2_LICENSE_FILES = COPYING
LIBEXOSIP2_CPE_ID_VENDOR = gnu
LIBEXOSIP2_CPE_ID_PRODUCT = exosip
LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2
ifeq ($(BR2_arc),y)
# toolchain __arc__ define conflicts with libeXosip2 source
LIBEXOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
endif
ifeq ($(BR2_PACKAGE_C_ARES),y)
LIBEXOSIP2_DEPENDENCIES += c-ares
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
LIBEXOSIP2_DEPENDENCIES += openssl
LIBEXOSIP2_CONF_OPTS += --enable-openssl
else
LIBEXOSIP2_CONF_OPTS += --disable-openssl
endif
LIBEXOSIP2_CONF_OPTS += \
--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
$(eval $(autotools-package))