kumquat-buildroot/package/libgsasl/libgsasl.mk
Fabrice Fontaine c4ff6bf227 package/libgsasl: enable gcrypt support
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2020-07-25 13:01:06 +02:00

28 lines
782 B
Makefile

################################################################################
#
# libgsasl
#
################################################################################
LIBGSASL_VERSION = 1.8.1
LIBGSASL_SITE = $(BR2_GNU_MIRROR)/gsasl
LIBGSASL_LICENSE = LGPL-2.1+ (library), GPL-3.0+ (programs)
LIBGSASL_LICENSE_FILES = README COPYING.LIB COPYING
LIBGSASL_INSTALL_STAGING = YES
ifeq ($(BR2_PACKAGE_LIBGCRYPT),y)
LIBGSASL_CONF_OPTS = --with-libgcrypt-prefix=$(STAGING_DIR)/usr
LIBGSASL_DEPENDENCIES += libgcrypt
else
LIBGSASL_CONF_OPTS = --without-libgcrypt
endif
ifeq ($(BR2_PACKAGE_LIBIDN),y)
LIBGSASL_CONF_OPTS += --with-libidn-prefix=$(STAGING_DIR)/usr
LIBGSASL_DEPENDENCIES += libidn
else
LIBGSASL_CONF_OPTS += --without-stringprep
endif
$(eval $(autotools-package))