2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-02 16:50:52 +02:00
|
|
|
#
|
|
|
|
# p11-kit
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-02 16:50:52 +02:00
|
|
|
|
2022-01-28 22:56:57 +01:00
|
|
|
P11_KIT_VERSION = 0.24.1
|
2021-01-08 19:11:57 +01:00
|
|
|
P11_KIT_SOURCE = p11-kit-$(P11_KIT_VERSION).tar.xz
|
2019-06-29 16:46:30 +02:00
|
|
|
P11_KIT_SITE = https://github.com/p11-glue/p11-kit/releases/download/$(P11_KIT_VERSION)
|
2013-06-02 16:50:52 +02:00
|
|
|
P11_KIT_INSTALL_STAGING = YES
|
2014-09-27 21:32:44 +02:00
|
|
|
P11_KIT_CONF_OPTS = --disable-static
|
2013-06-05 10:17:43 +02:00
|
|
|
P11_KIT_CONF_ENV = ac_cv_have_decl_program_invocation_short_name=yes \
|
2013-06-06 06:42:18 +02:00
|
|
|
ac_cv_have_decl___progname=no
|
2017-03-30 15:43:38 +02:00
|
|
|
P11_KIT_LICENSE = BSD-3-Clause
|
2013-06-02 16:50:52 +02:00
|
|
|
P11_KIT_LICENSE_FILES = COPYING
|
2021-03-05 23:27:44 +01:00
|
|
|
P11_KIT_CPE_ID_VENDOR = p11-kit_project
|
2013-06-02 16:50:52 +02:00
|
|
|
|
2020-12-21 13:36:17 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBFFI),y)
|
|
|
|
P11_KIT_DEPENDENCIES += host-pkgconf libffi
|
|
|
|
P11_KIT_CONF_OPTS += --with-libffi
|
|
|
|
else
|
|
|
|
P11_KIT_CONF_OPTS += --without-libffi
|
|
|
|
endif
|
|
|
|
|
2020-12-21 13:36:18 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBTASN1),y)
|
|
|
|
P11_KIT_DEPENDENCIES += host-pkgconf libtasn1
|
2020-12-30 20:20:38 +01:00
|
|
|
P11_KIT_CONF_OPTS += \
|
|
|
|
--enable-trust-module \
|
|
|
|
--with-libtasn1
|
|
|
|
ifeq ($(BR2_PACKAGE_CA_CERTIFICATES),y)
|
|
|
|
P11_KIT_CONF_OPTS += --with-trust-paths=/etc/ssl/certs/ca-certificates.crt
|
|
|
|
else
|
|
|
|
P11_KIT_CONF_OPTS += --without-trust-paths
|
|
|
|
endif
|
2020-12-21 13:36:18 +01:00
|
|
|
else
|
2020-12-30 20:20:38 +01:00
|
|
|
P11_KIT_CONF_OPTS += \
|
|
|
|
--disable-trust-module \
|
|
|
|
--without-libtasn1
|
2020-12-21 13:36:18 +01:00
|
|
|
endif
|
|
|
|
|
2013-06-02 16:50:52 +02:00
|
|
|
$(eval $(autotools-package))
|