kumquat-buildroot/package/libucl/libucl.mk
Fabrice Fontaine f00e599ccd libucl: add optional libcurl dependency
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-01 14:58:45 +02:00

23 lines
585 B
Makefile

################################################################################
#
# libucl
#
################################################################################
LIBUCL_VERSION = 0.8.1
LIBUCL_SITE = $(call github,vstakhov,libucl,$(LIBUCL_VERSION))
LIBUCL_INSTALL_STAGING = YES
LIBUCL_AUTORECONF = YES
LIBUCL_LICENSE = BSD-2-Clause
LIBUCL_LICENSE_FILES = COPYING
LIBUCL_DEPENDENCIES = host-pkgconf
ifeq ($(BR2_PACKAGE_LIBCURL),y)
LIBUCL_DEPENDENCIES += libcurl
LIBUCL_CONF_OPTS += --enable-urls
else
LIBUCL_CONF_OPTS += --disable-urls
endif
$(eval $(autotools-package))