kumquat-buildroot/package/rtty/rtty.mk

39 lines
934 B
Makefile
Raw Normal View History

################################################################################
#
# rtty
#
################################################################################
RTTY_VERSION = 8.1.0
RTTY_SITE = https://github.com/zhaojh329/rtty/releases/download/v$(RTTY_VERSION)
RTTY_LICENSE = MIT
RTTY_LICENSE_FILES = LICENSE
RTTY_DEPENDENCIES = libev
ifeq ($(BR2_PACKAGE_MBEDTLS),y)
RTTY_DEPENDENCIES += mbedtls
RTTY_CONF_OPTS += \
-DSSL_SUPPORT=ON \
-DUSE_MBEDTLS=ON \
-DUSE_OPENSSL=OFF \
-DUSE_WOLFSSL=OFF
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
RTTY_DEPENDENCIES += host-pkgconf openssl
RTTY_CONF_OPTS += \
-DSSL_SUPPORT=ON \
-DUSE_MBEDTLS=OFF \
-DUSE_OPENSSL=ON \
-DUSE_WOLFSSL=OFF
else ifeq ($(BR2_PACKAGE_WOLFSSL_ALL),y)
RTTY_DEPENDENCIES += wolfssl
RTTY_CONF_OPTS += \
-DSSL_SUPPORT=ON \
-DUSE_MBEDTLS=OFF \
-DUSE_OPENSSL=OFF \
-DUSE_WOLFSSL=ON
else
RTTY_CONF_OPTS += -DSSL_SUPPORT=OFF
endif
$(eval $(cmake-package))