xref: /OK3568_Linux_fs/buildroot/package/uacme/uacme.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# uacme
4#
5################################################################################
6
7UACME_VERSION = 1.7.1
8# Released versions are on branch upstream/latest, tagged as
9# upstream/X.Y.Z Do not use vX.Y.Z tags from master, as they do not
10# include .tarball-version
11UACME_SITE = $(call github,ndilieto,uacme,upstream/$(UACME_VERSION))
12UACME_LICENSE = GPL-3.0+
13UACME_LICENSE_FILES = COPYING
14UACME_DEPENDENCIES = libcurl
15
16UACME_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
17
18ifeq ($(BR2_PACKAGE_GNUTLS),y)
19UACME_CONF_OPTS += --with-gnutls
20UACME_DEPENDENCIES += gnutls
21else ifeq ($(BR2_PACKAGE_OPENSSL),y)
22UACME_CONF_OPTS += --with-openssl
23UACME_DEPENDENCIES += openssl
24else ifeq ($(BR2_PACKAGE_MBEDTLS),y)
25UACME_CONF_OPTS += --with-mbedtls
26UACME_DEPENDENCIES += mbedtls
27endif
28
29ifeq ($(BR2_PACKAGE_UACME_UALPN),y)
30UACME_DEPENDENCIES += libev
31UACME_CONF_OPTS += --with-ualpn
32else
33UACME_CONF_OPTS += --without-ualpn
34endif
35
36$(eval $(autotools-package))
37