resiprocate.mk 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. ################################################################################
  2. #
  3. # resiprocate
  4. #
  5. ################################################################################
  6. RESIPROCATE_VERSION = 1.12.0
  7. RESIPROCATE_SITE = https://www.resiprocate.org/files/pub/reSIProcate/releases
  8. # For complete details see https://www.resiprocate.org/License
  9. RESIPROCATE_LICENSE = VSL-1.0, BSD-3-Clause
  10. RESIPROCATE_LICENSE_FILES = COPYING
  11. RESIPROCATE_CPE_ID_VENDOR = resiprocate
  12. RESIPROCATE_INSTALL_STAGING = YES
  13. # Utilize c-ares from buildroot instead built in ARES library
  14. # NOTE: resiprocate doesn't support --without-<feature> syntax as it will try
  15. # to build with package if specified
  16. RESIPROCATE_DEPENDENCIES = c-ares
  17. RESIPROCATE_CONF_OPTS = -with-c-ares \
  18. --with-sysroot="$(STAGING_DIR)"
  19. ifeq ($(BR2_PACKAGE_OPENSSL),y)
  20. RESIPROCATE_DEPENDENCIES += openssl host-pkgconf
  21. RESIPROCATE_CONF_OPTS += --with-ssl
  22. # Configure.ac does not include '-lz' when statically linking against openssl
  23. RESIPROCATE_CONF_ENV += LIBS=`$(PKG_CONFIG_HOST_BINARY) --libs openssl`
  24. endif
  25. ifeq ($(BR2_PACKAGE_POPT),y)
  26. RESIPROCATE_CONF_OPTS += --with-popt
  27. RESIPROCATE_DEPENDENCIES += popt
  28. endif
  29. ifeq ($(BR2_PACKAGE_RESIPROCATE_DTLS_SUPPORT),y)
  30. RESIPROCATE_CONF_OPTS += --with-dtls
  31. endif
  32. ifeq ($(BR2_PACKAGE_RESIPROCATE_REND),y)
  33. RESIPROCATE_CONF_OPTS += --with-rend
  34. RESIPROCATE_DEPENDENCIES += boost
  35. endif
  36. ifeq ($(BR2_PACKAGE_RESIPROCATE_APPS),y)
  37. RESIPROCATE_CONF_OPTS += --with-apps
  38. RESIPROCATE_DEPENDENCIES += pcre
  39. endif
  40. $(eval $(autotools-package))