open-plc-utils: new package
[buildroot-gz.git] / package / sofia-sip / sofia-sip.mk
blob8bb40f1b16b89baf81e280297b047e3c8b53461a
1 ################################################################################
3 # sofia-sip
5 ################################################################################
7 SOFIA_SIP_VERSION = 1.12.11
8 SOFIA_SIP_SITE = http://downloads.sourceforge.net/project/sofia-sip/sofia-sip/$(SOFIA_SIP_VERSION)
9 SOFIA_SIP_INSTALL_STAGING = YES
10 SOFIA_SIP_DEPENDENCIES = host-pkgconf
11 SOFIA_SIP_LICENSE = LGPLv2.1+
12 SOFIA_SIP_LICENSE_FILES = COPYING COPYRIGHTS
14 SOFIA_SIP_CONF_OPTS = --with-doxygen=no
16 ifeq ($(BR2_TOOLCHAIN_BUILDROOT_INET_IPV6),)
17 SOFIA_SIP_CONF_OPTS = --disable-ip6
18 endif
20 ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
21 SOFIA_SIP_CONF_OPTS += --with-glib
22 SOFIA_SIP_DEPENDENCIES += libglib2
23 else
24 SOFIA_SIP_CONF_OPTS += --without-glib
25 endif
27 ifeq ($(BR2_PACKAGE_OPENSSL),y)
28 SOFIA_SIP_CONF_OPTS += --with-openssl
29 SOFIA_SIP_DEPENDENCIES += openssl
30 else
31 SOFIA_SIP_CONF_OPTS += --without-openssl
32 endif
34 ifeq ($(BR2_ENABLE_DEBUG),y)
35 SOFIA_SIP_CONF_OPTS += --enable-ndebug
36 endif
38 $(eval $(autotools-package))