2016-07-01 18:32:22 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libuio
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
# v0.2.7
|
|
|
|
LIBUIO_VERSION = 940861de278cb794bf9d775b76a4d1d4f9108607
|
|
|
|
LIBUIO_SITE = $(call github,Linutronix,libuio,$(LIBUIO_VERSION))
|
|
|
|
LIBUIO_LICENSE = LGPLv2.1 (library), GPLv2 (programs)
|
|
|
|
LIBUIO_LICENSE_FILES = COPYING
|
2016-07-02 11:00:07 +02:00
|
|
|
LIBUIO_CONF_OPTS = --with-glib=no --without-werror
|
2016-07-01 18:32:22 +02:00
|
|
|
LIBUIO_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
# Fetched from github, no pre-generated configure script provided
|
|
|
|
LIBUIO_GETTEXTIZE = YES
|
|
|
|
LIBUIO_AUTORECONF = YES
|
|
|
|
|
|
|
|
# Avoid build issue when makeinfo is missing
|
|
|
|
LIBUIO_CONF_ENV += MAKEINFO=true
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
|
|
|
LIBUIO_DEPENDENCIES += argp-standalone
|
2016-07-02 11:00:06 +02:00
|
|
|
LIBUIO_LIBS += -largp
|
2016-07-01 18:32:22 +02:00
|
|
|
endif
|
|
|
|
|
2016-07-02 11:00:06 +02:00
|
|
|
# libuio pulls in libintl if needed, so ensure we also
|
|
|
|
# link against it, otherwise static linking fails
|
|
|
|
ifeq ($(BR2_NEEDS_GETTEXT_IF_LOCALE),y)
|
|
|
|
LIBUIO_DEPENDENCIES += gettext
|
|
|
|
LIBUIO_LIBS += -lintl
|
|
|
|
endif
|
|
|
|
|
|
|
|
LIBUIO_CONF_ENV += LIBS="$(LIBUIO_LIBS)"
|
|
|
|
|
2016-07-01 18:32:22 +02:00
|
|
|
$(eval $(autotools-package))
|