hc
2024-08-19 eb6b9ee90f50f13c5abb885ce483802d6262f2b5
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
38
39
40
41
42
43
44
45
46
47
48
################################################################################
#
# resiprocate
#
################################################################################
 
RESIPROCATE_VERSION = 1.12.0
RESIPROCATE_SITE = https://www.resiprocate.org/files/pub/reSIProcate/releases
# For complete details see https://www.resiprocate.org/License
RESIPROCATE_LICENSE = VSL-1.0, BSD-3-Clause
RESIPROCATE_LICENSE_FILES = COPYING
RESIPROCATE_CPE_ID_VENDOR = resiprocate
RESIPROCATE_INSTALL_STAGING = YES
 
# Utilize c-ares from buildroot instead built in ARES library
# NOTE: resiprocate doesn't support --without-<feature> syntax as it will try
#       to build with package if specified
RESIPROCATE_DEPENDENCIES = c-ares
RESIPROCATE_CONF_OPTS = -with-c-ares \
   --with-sysroot="$(STAGING_DIR)"
 
ifeq ($(BR2_PACKAGE_OPENSSL),y)
RESIPROCATE_DEPENDENCIES += openssl host-pkgconf
RESIPROCATE_CONF_OPTS += --with-ssl
# Configure.ac does not include '-lz' when statically linking against openssl
RESIPROCATE_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
endif
 
ifeq ($(BR2_PACKAGE_POPT),y)
RESIPROCATE_CONF_OPTS += --with-popt
RESIPROCATE_DEPENDENCIES += popt
endif
 
ifeq ($(BR2_PACKAGE_RESIPROCATE_DTLS_SUPPORT),y)
RESIPROCATE_CONF_OPTS += --with-dtls
endif
 
ifeq ($(BR2_PACKAGE_RESIPROCATE_REND),y)
RESIPROCATE_CONF_OPTS += --with-rend
RESIPROCATE_DEPENDENCIES += boost
endif
 
ifeq ($(BR2_PACKAGE_RESIPROCATE_APPS),y)
RESIPROCATE_CONF_OPTS += --with-apps
RESIPROCATE_DEPENDENCIES += pcre
endif
 
$(eval $(autotools-package))