@@ -1,3 +1,3 @@
# Locally calculated
-sha256 75248f3de3b7b13c8c9735ff7b86ebe72cbb8ad043291517d7d53488e0893abe uriparser-0.9.1.tar.bz2
+sha256 28af4adb05e811192ab5f04566bebc5ebf1c30d9ec19138f944963d52419e28f uriparser-0.9.3.tar.bz2
sha256 ee90029e62d11f48faa59360d15c3ad8e7c094c74cc25b055716d92340da561f COPYING
@@ -4,16 +4,22 @@
#
################################################################################
-LIBURIPARSER_VERSION = 0.9.1
+LIBURIPARSER_VERSION = 0.9.3
LIBURIPARSER_SOURCE = uriparser-$(LIBURIPARSER_VERSION).tar.bz2
LIBURIPARSER_SITE = https://github.com/uriparser/uriparser/releases/download/uriparser-$(LIBURIPARSER_VERSION)
LIBURIPARSER_LICENSE = BSD-3-Clause
LIBURIPARSER_LICENSE_FILES = COPYING
LIBURIPARSER_INSTALL_STAGING = YES
-LIBURIPARSER_CONF_OPTS = --disable-test
+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
ifeq ($(BR2_USE_WCHAR),)
-LIBURIPARSER_CONF_OPTS += --disable-wchar_t
+LIBURIPARSER_CONF_OPTS += -DURIPARSER_BUILD_WCHAR_T=OFF
endif
-$(eval $(autotools-package))
+$(eval $(cmake-package))