2019-05-01 16:12:34 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# uacme
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-04-18 23:26:17 +02:00
|
|
|
UACME_VERSION = 1.2.2
|
2019-05-01 16:12:34 +02:00
|
|
|
# Released versions are on branch upstream/latest, tagged as
|
|
|
|
# upstream/X.Y.Z Do not use vX.Y.Z tags from master, as they do not
|
|
|
|
# include .tarball-version
|
|
|
|
UACME_SITE = $(call github,ndilieto,uacme,upstream/$(UACME_VERSION))
|
|
|
|
UACME_LICENSE = GPL-3.0+
|
|
|
|
UACME_LICENSE_FILES = COPYING
|
|
|
|
UACME_DEPENDENCIES = libcurl
|
|
|
|
|
2019-10-04 15:23:03 +02:00
|
|
|
UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
|
|
|
|
2019-05-01 16:12:34 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_GNUTLS),y)
|
|
|
|
UACME_CONF_OPTS += --with-gnutls
|
|
|
|
UACME_DEPENDENCIES += gnutls
|
2019-10-03 18:49:47 +02:00
|
|
|
else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
|
|
|
|
UACME_CONF_OPTS += --with-mbedtls
|
|
|
|
UACME_DEPENDENCIES += mbedtls
|
2019-10-03 18:49:48 +02:00
|
|
|
else ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
UACME_CONF_OPTS += --with-openssl
|
|
|
|
UACME_DEPENDENCIES += openssl
|
2019-05-01 16:12:34 +02:00
|
|
|
endif
|
|
|
|
|
2020-04-18 23:26:17 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_UACME_UALPN),y)
|
|
|
|
UACME_DEPENDENCIES += libev
|
|
|
|
UACME_CONF_OPTS += --with-ualpn
|
|
|
|
else
|
|
|
|
UACME_CONF_OPTS += --without-ualpn
|
|
|
|
endif
|
|
|
|
|
2019-05-01 16:12:34 +02:00
|
|
|
$(eval $(autotools-package))
|