debianutils: bump to version 4.8.1
[buildroot-gz.git] / package / libeXosip2 / libeXosip2.mk
blobd101f954786fc4525ce74d9ba5fb17c4044c747a
1 ################################################################################
3 # libexosip2
5 ################################################################################
7 LIBEXOSIP2_VERSION = 3.6.0
8 LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip
9 LIBEXOSIP2_INSTALL_STAGING = YES
10 LIBEXOSIP2_LICENSE = GPLv2+
11 LIBEXOSIP2_LICENSE_FILES = COPYING
13 LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2
15 # We are touching configure.in and Makefile.am with one of our patches
16 LIBEXOSIP2_AUTORECONF = YES
18 ifeq ($(BR2_arc),y)
19 # toolchain __arc__ define conflicts with libeXosip2 source
20 LIBEXOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
21 endif
23 ifeq ($(BR2_PACKAGE_C_ARES),y)
24 LIBEXOSIP2_DEPENDENCIES += c-ares
25 endif
27 ifeq ($(BR2_PACKAGE_OPENSSL),y)
28 LIBEXOSIP2_DEPENDENCIES += openssl
29 LIBEXOSIP2_CONF_OPTS += --enable-openssl
30 else
31 LIBEXOSIP2_CONF_OPTS += --disable-openssl
32 endif
34 LIBEXOSIP2_CONF_OPTS += \
35 --enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
37 $(eval $(autotools-package))