240aa29d67
Version 0.9.3 is a fix-up to 0.9.2. Combined, releases 0.9.2 and 0.9.3 feature: - Migration from GNU autotools to CMake - Link fixes for use of uriparser from C++ code - Library visibility fixes / introduction of -fvisibility=hidden For more details please check the change log at https://github.com/uriparser/uriparser/blob/uriparser-0.9.3/ChangeLog Signed-off-by: Carlos Santos <unixmania@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
26 lines
852 B
Makefile
26 lines
852 B
Makefile
################################################################################
|
|
#
|
|
# liburiparser
|
|
#
|
|
################################################################################
|
|
|
|
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 = -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 += -DURIPARSER_BUILD_WCHAR_T=OFF
|
|
endif
|
|
|
|
$(eval $(cmake-package))
|