c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 lines
936 B
Makefile
34 lines
936 B
Makefile
################################################################################
|
|
#
|
|
# libexosip2
|
|
#
|
|
################################################################################
|
|
|
|
LIBEXOSIP2_VERSION = 3.6.0
|
|
LIBEXOSIP2_SITE = http://download.savannah.gnu.org/releases/exosip
|
|
LIBEXOSIP2_INSTALL_STAGING = YES
|
|
LIBEXOSIP2_LICENSE = GPLv2+
|
|
LIBEXOSIP2_LICENSE_FILES = COPYING
|
|
|
|
LIBEXOSIP2_DEPENDENCIES = host-pkgconf libosip2
|
|
|
|
# We are touching configure.in and Makefile.am with one of our patches
|
|
LIBEXOSIP2_AUTORECONF = YES
|
|
|
|
ifeq ($(BR2_arc),y)
|
|
# toolchain __arc__ define conflicts with libeXosip2 source
|
|
LIBEXOSIP2_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) -U__arc__"
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
LIBEXOSIP2_DEPENDENCIES += openssl
|
|
LIBEXOSIP2_CONF_OPT += --enable-openssl
|
|
else
|
|
LIBEXOSIP2_CONF_OPT += --disable-openssl
|
|
endif
|
|
|
|
LIBEXOSIP2_CONF_OPT += \
|
|
--enable-mt=$(if $(BR2_TOOLCHAIN_HAS_THREADS),yes,no)
|
|
|
|
$(eval $(autotools-package))
|