Blame view

buildroot/buildroot-2016.08.1/package/libeXosip2/libeXosip2.mk 1011 Bytes
6b13f685e   김민수   BSP 최초 추가
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  ################################################################################
  #
  # 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_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))