2022-07-30 00:01:54 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libdill
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-08-10 11:49:11 +02:00
|
|
|
LIBDILL_VERSION = 32d0e8b733416208e0412a56490332772bc5c6e1
|
2022-07-30 00:01:54 +02:00
|
|
|
LIBDILL_SITE = $(call github,sustrik,libdill,$(LIBDILL_VERSION))
|
|
|
|
LIBDILL_LICENSE = MIT
|
|
|
|
LIBDILL_LICENSE_FILES = COPYING
|
|
|
|
LIBDILL_INSTALL_STAGING = YES
|
|
|
|
# Fetched from Github, with no configure script
|
|
|
|
LIBDILL_AUTORECONF = YES
|
|
|
|
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
|
|
|
|
LIBDILL_CONF_OPTS += --enable-threads
|
|
|
|
else
|
|
|
|
LIBDILL_CONF_OPTS += --disable-threads
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
2022-08-10 11:49:11 +02:00
|
|
|
LIBDILL_DEPENDENCIES += host-pkgconf openssl
|
2022-07-30 00:01:54 +02:00
|
|
|
LIBDILL_CONF_OPTS += --enable-tls
|
|
|
|
else
|
|
|
|
LIBDILL_CONF_OPTS += --disable-tls
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|