2024-02-02 16:56:14 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libjwt
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
LIBJWT_VERSION = 1.15.3
|
|
|
|
LIBJWT_SITE = $(call github,benmcollins,libjwt,v$(LIBJWT_VERSION))
|
2024-02-03 18:58:40 +01:00
|
|
|
LIBJWT_DEPENDENCIES = host-pkgconf jansson
|
2024-02-02 16:56:14 +01:00
|
|
|
LIBJWT_AUTORECONF = YES
|
|
|
|
LIBJWT_INSTALL_STAGING = YES
|
|
|
|
LIBJWT_LICENSE = MPL-2.0
|
|
|
|
LIBJWT_LICENSE_FILES = LICENSE
|
2024-02-05 21:16:25 +01:00
|
|
|
LIBJWT_CONF_OPTS = --without-examples
|
2024-02-02 16:56:14 +01:00
|
|
|
|
2024-02-03 18:58:40 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
LIBJWT_CONF_OPTS += --with-openssl
|
|
|
|
LIBJWT_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
LIBJWT_CONF_OPTS += --without-openssl
|
|
|
|
LIBJWT_DEPENDENCIES += gnutls
|
|
|
|
endif
|
|
|
|
|
2024-02-02 16:56:14 +01:00
|
|
|
$(eval $(autotools-package))
|