2017-03-17 10:11:19 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libkcapi
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-08-31 13:50:05 +02:00
|
|
|
LIBKCAPI_VERSION = 1.1.5
|
2017-09-22 08:20:20 +02:00
|
|
|
LIBKCAPI_SOURCE = libkcapi-$(LIBKCAPI_VERSION).tar.xz
|
|
|
|
LIBKCAPI_SITE = http://www.chronox.de/libkcapi
|
2017-03-17 10:11:19 +01:00
|
|
|
LIBKCAPI_AUTORECONF = YES
|
|
|
|
LIBKCAPI_INSTALL_STAGING = YES
|
2017-03-30 15:43:38 +02:00
|
|
|
LIBKCAPI_LICENSE = BSD-3-Clause (library), BSD-3-Clause or GPL-2.0 (programs)
|
2017-03-17 10:11:19 +01:00
|
|
|
LIBKCAPI_LICENSE_FILES = COPYING COPYING.gplv2 COPYING.bsd
|
2018-10-28 10:39:53 +01:00
|
|
|
LIBKCAPI_CONF_ENV = \
|
|
|
|
ac_cv_path_DB2PDF="" \
|
|
|
|
ac_cv_path_DB2PS="" \
|
|
|
|
ac_cv_path_XMLTO=""
|
2017-03-17 10:11:19 +01:00
|
|
|
|
2019-08-20 10:27:32 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBKCAPI_ENCAPP),y)
|
|
|
|
LIBKCAPI_CONF_OPTS += --enable-kcapi-encapp
|
|
|
|
else
|
|
|
|
LIBKCAPI_CONF_OPTS += --disable-kcapi-encapp
|
|
|
|
endif
|
|
|
|
|
2018-05-07 00:09:01 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBKCAPI_HASHER),y)
|
|
|
|
LIBKCAPI_CONF_OPTS += --enable-kcapi-hasher
|
2017-03-17 10:11:19 +01:00
|
|
|
else
|
2018-05-07 00:09:01 +02:00
|
|
|
LIBKCAPI_CONF_OPTS += --disable-kcapi-hasher
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBKCAPI_RNGAPP),y)
|
|
|
|
LIBKCAPI_CONF_OPTS += --enable-kcapi-rngapp
|
|
|
|
else
|
|
|
|
LIBKCAPI_CONF_OPTS += --disable-kcapi-rngapp
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBKCAPI_SPEED),y)
|
|
|
|
LIBKCAPI_CONF_OPTS += --enable-kcapi-speed
|
|
|
|
else
|
|
|
|
LIBKCAPI_CONF_OPTS += --disable-kcapi-speed
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBKCAPI_TEST),y)
|
|
|
|
LIBKCAPI_CONF_OPTS += --enable-kcapi-test
|
|
|
|
else
|
|
|
|
LIBKCAPI_CONF_OPTS += --disable-kcapi-test
|
2017-03-17 10:11:19 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|