kumquat-buildroot/package/sofia-sip/sofia-sip.mk
Gregory Dymarek fbfa665350 sofia-sip: new package
[Thomas:
 - Add better Config.in help text.
 - Fix the hash file format.
 - Fix comment header in .mk file.
 - Remove SOURCE variable, as it had the default value.
 - Add dependency on host-pkgconf, used by the configure script.
 - Add LICENSE and LICENSE_FILES variables.
 - Do not use BR2_HAVE_DOCUMENTATION, this option has been
   removed. Instead, always disable doxygen.
 - Simplify the IPv6 test.
 - Add optional dependency on OpenSSL.
 - Fixup the handling of the --enable-ndebug.]

Signed-off-by: Gregory Dymarek <gregd72002@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-01-01 14:37:10 +01:00

39 lines
995 B
Makefile

################################################################################
#
# sofia-sip
#
################################################################################
SOFIA_SIP_VERSION = 1.12.11
SOFIA_SIP_SITE = http://downloads.sourceforge.net/project/sofia-sip/sofia-sip/$(SOFIA_SIP_VERSION)
SOFIA_SIP_INSTALL_STAGING = YES
SOFIA_SIP_DEPENDENCIES = host-pkgconf
SOFIA_SIP_LICENSE = LGPLv2.1+
SOFIA_SIP_LICENSE_FILES = COPYING COPYRIGHTS
SOFIA_SIP_CONF_OPTS = --with-doxygen=no
ifeq ($(BR2_TOOLCHAIN_BUILDROOT_INET_IPV6),)
SOFIA_SIP_CONF_OPTS = --disable-ip6
endif
ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
SOFIA_SIP_CONF_OPTS += --with-glib
SOFIA_SIP_DEPENDENCIES += libglib2
else
SOFIA_SIP_CONF_OPTS += --without-glib
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
SOFIA_SIP_CONF_OPTS += --with-openssl
SOFIA_SIP_DEPENDENCIES += openssl
else
SOFIA_SIP_CONF_OPTS += --without-openssl
endif
ifeq ($(BR2_ENABLE_DEBUG),y)
SOFIA_SIP_CONF_OPTS += --enable-ndebug
endif
$(eval $(autotools-package))