2014-11-23 20:56:51 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# liburiparser
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2019-04-30 19:17:31 +02:00
|
|
|
LIBURIPARSER_VERSION = 0.9.3
|
2014-11-23 20:56:51 +01:00
|
|
|
LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.bz2
|
2018-02-08 01:38:09 +01:00
|
|
|
LIBURIPARSER_SITE = https://github.com/uriparser/uriparser/releases/download/uriparser-$(LIBURIPARSER_VERSION)
|
2017-03-30 15:43:38 +02:00
|
|
|
LIBURIPARSER_LICENSE = BSD-3-Clause
|
2014-11-23 20:56:51 +01:00
|
|
|
LIBURIPARSER_LICENSE_FILES = COPYING
|
|
|
|
LIBURIPARSER_INSTALL_STAGING = YES
|
2019-04-30 19:17:31 +02:00
|
|
|
LIBURIPARSER_CONF_OPTS = -DURIPARSER_BUILD_DOCS=OFF -DURIPARSER_BUILD_TESTS=OFF
|
|
|
|
|
|
|
|
ifeq ($(BR2_SHARED_LIBS)$(BR2_SHARED_STATIC_LIBS),y)
|
|
|
|
LIBURIPARSER_CONF_OPTS += -DBUILD_SHARED_LIBS=ON
|
|
|
|
else
|
|
|
|
LIBURIPARSER_CONF_OPTS += -DBUILD_SHARED_LIBS=OFF
|
|
|
|
endif
|
2014-11-23 20:56:51 +01:00
|
|
|
|
|
|
|
ifeq ($(BR2_USE_WCHAR),)
|
2019-04-30 19:17:31 +02:00
|
|
|
LIBURIPARSER_CONF_OPTS += -DURIPARSER_BUILD_WCHAR_T=OFF
|
2014-11-23 20:56:51 +01:00
|
|
|
endif
|
|
|
|
|
2019-04-30 19:17:31 +02:00
|
|
|
$(eval $(cmake-package))
|