0d68771e54
When available, libconfuse will use the libintl provided by the gettext package. Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com> [Thomas: make it really an optional dependency.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
23 lines
706 B
Makefile
23 lines
706 B
Makefile
################################################################################
|
|
#
|
|
# libconfuse
|
|
#
|
|
################################################################################
|
|
|
|
LIBCONFUSE_VERSION = 3.0
|
|
LIBCONFUSE_SOURCE = confuse-$(LIBCONFUSE_VERSION).tar.xz
|
|
LIBCONFUSE_SITE = https://github.com/martinh/libconfuse/releases/download/v$(LIBCONFUSE_VERSION)
|
|
LIBCONFUSE_INSTALL_STAGING = YES
|
|
LIBCONFUSE_CONF_OPTS = --disable-rpath
|
|
LIBCONFUSE_DEPENDENCIES = host-flex
|
|
HOST_LIBCONFUSE_DEPENDENCIES = host-flex
|
|
LIBCONFUSE_LICENSE = ISC
|
|
LIBCONFUSE_LICENSE_FILES = LICENSE
|
|
|
|
ifeq ($(BR2_PACKAGE_GETTEXT),y)
|
|
LIBCONFUSE_DEPENDENCIES += gettext
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|