2014-11-24 03:56:51 +08:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# liburiparser
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2024-05-06 03:08:21 +08:00
|
|
|
LIBURIPARSER_VERSION = 0.9.8
|
2022-01-07 06:39:05 +08:00
|
|
|
LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.xz
|
2018-02-08 08:38:09 +08:00
|
|
|
LIBURIPARSER_SITE = https://github.com/uriparser/uriparser/releases/download/uriparser-$(LIBURIPARSER_VERSION)
|
2017-03-30 21:43:38 +08:00
|
|
|
LIBURIPARSER_LICENSE = BSD-3-Clause
|
2014-11-24 03:56:51 +08:00
|
|
|
LIBURIPARSER_LICENSE_FILES = COPYING
|
2021-03-03 17:27:49 +08:00
|
|
|
LIBURIPARSER_CPE_ID_VENDOR = uriparser_project
|
|
|
|
LIBURIPARSER_CPE_ID_PRODUCT = uriparser
|
2014-11-24 03:56:51 +08:00
|
|
|
LIBURIPARSER_INSTALL_STAGING = YES
|
2019-05-01 01:17:31 +08: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-24 03:56:51 +08:00
|
|
|
|
|
|
|
ifeq ($(BR2_USE_WCHAR),)
|
2019-05-01 01:17:31 +08:00
|
|
|
LIBURIPARSER_CONF_OPTS += -DURIPARSER_BUILD_WCHAR_T=OFF
|
2014-11-24 03:56:51 +08:00
|
|
|
endif
|
|
|
|
|
2019-05-01 01:17:31 +08:00
|
|
|
$(eval $(cmake-package))
|